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


Please Help Members By Posting Answers For Below Questions

how would you improve etl (extract, transform, load) throughput?

747


How to use subqueries with the in operators in ms sql server?

743


What gets stored inside msdb database?

935


Can you pass expressions to stored procedure parameters?

694


what are the types of indexes? : Sql server database administration

788






What is relationship? What number of sorts of relationship are there?

810


What are rows and columns?

713


What is provisioning, billing and metering, and connection routing concepts in the service layer?

109


What is nonclustered index with included columns ?

701


Explain identity in sql server?

710


What is the process of indexing?

699


What are the advantages of paper records?

717


What is the name of the system variable that returns the number of rows affected by a SQL statement?

760


What is the difference between a function and a trigger?

760


Define inner join in sql server joins?

704