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
How to transfer a table from one schema to another?
Why should one not prefix user stored procedures with ‘sp_’?
What new data source types were added in ssrs 2014?
Does partitioning help performance?
Does hive support indexing?
What is Lock table in SQL?
What is the difference between grant and with grant while giving permissions to the user?
How to set the current database in ms sql server?
If user is owning any SQL Objects, can we drop that user
What is the default port for SQL Server over a firewall?
How will you optimize a stored procedure optimization?
what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?
How does stuff differ from the replace function?
Explain stored procedure?
Can we create clustered index on composite key?