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 ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is the difference between cube operator and rollup operator? : SQL Server Architecture
How many types of stored procedures are there in sql server?
How does index makes search faster?
Explain how to send email from sql database?
What is the difference between NOROW and LOCKROW?
Explain alternate key, candidate key and composite key in sql server?
What is a transact-sql statement?
What is query optimizer in sql server?
How do I trace a query in sql server?
Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many
Do you know what are the steps to process a single select statement?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
Do you know the isolation level that sql server support?
what are different types of backups available in sql server? : Sql server database administration
What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?