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
What are the extra roles available in msdb? : sql server security
How to provide default values to stored procedure parameters?
Explain database normalization?
What is lock escalation and what is its purpose?
How to compare the top two records using sql?
What happens if date-only values are provided as date and time literals?
How do I save a stored procedure in sql server?
What is indexing explain it with an example?
What is global temp table?
Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?
What is blocking and how would you troubleshoot it? : sql server database administration
Is null vs coalesce?
Please differentiate between a local and a global temporary table?
Can multiple columns be used in sql group by clause in ms sql server?
Can group by be used without aggregate functions?