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 is coalesce in sql server?
How to generate create function script on an existing function?
What is the fillfactor concept in indexes?
Find columns used in stored procedure?
What happens if date-only values are provided as date and time literals?
How can you check the version of sql server?
What is indexing a document?
How to modify the underlying query of an existing view?
What is the difference between DataRow.Delete() and DataRow.Remove()?
How is sql used in sql server?
When is the use of update_statistics command?
Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?
If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?
Do you know what are various aggregate functions that are available?
What is a virtual table in sql?