write sql program to get the detail of student in a class?
Answers were Sorted based on User's Feedback
Answer / bhagwat sharma
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 ? | 13 Yes | 0 No |
Answer / 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 |
Explain the properties of sub-query in sql server?
what are file groups?
What do you understand by replication in sql server?
what is lazy writer?
Tell me what are cursors and when they are useful?
What are the benefits and tasks of object explorer? : sql server management studio
Does sql server use java?
Do you know nested transaction?
what happens on checkpoint? : Sql server database administration
Is it true that rules do not apply to data already existing in a database at the time the rule is created?
Can a table be created inside a trigger?
explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration