write sql program to get the detail of student in a class?
Answer Posted / 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 |
Post New Answer View All Answers
Differentiate between a having clause and a where clause.
Define inner join? Explain with an example?
What are the security related catalog views? : sql server security
Explain sql server service broker?
What is the difference between local and global temporary tables?
Can another user execute your local temporary stored procedures?
Can we add an identity column to decimal datatype?
Explain primary key, foreign key and unique key?
Explain the creation and execution of a user-defined function in the sql server?
Why Master database is required?
Explain the difference between control flow and data flow?
What is trigger and different types of Triggers?
How to modify an existing user defined function?
How to loop through returning rows?
What are the different types of replication you can set up in sql server?