write sql program to get the detail of student in a class?
Answer Posted / muruga nandhini.p
create table student
(
roll_no int,
name varchar(20),
class int,
address varchar(50),
phone int
)
++++++++++++++++run select than press f5
insert into student values(1,'Bhagwat',10,'Mathura',9268450493)
+++++++++++++run select than press f5
select * from student where roll_no=1
+++++++++++++++++++++++++++run select than press f5
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Will sql server 2005 allow you to reduce the size of a column?
tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration
Tell me about pre-defined functions of sql?
What happens to a trigger with multiple affected rows?
Do you know the different ddl commands in sql?
What is the default value of an integer data type in sql server 2005?
Detail about query optimizer?
How will you monitor replication activity and performance? What privilege do you need to use replication monitor? : sql server replication
What does the not null constraint do?
What is the exact numeric data type in sql?
What is side by side migration in sql server?
What is the main difference between ‘between’ and ‘in’ condition operators?
What are the different index configurations a table can have?
How to bind a view to the schema of the underlying tables?
Can we join two tables without primary key?