SQL HOT Questions 10 - 29
SQL HOT Questions 10 - 29
1. Write the SQL query for the following questions based on given employee table.
e) To display all students information whose marks is between 300 and 450
Select * from stud where marks between 300 and 450
h. Using given SQL table of electricity bill, write the appropriate SQL query.
Answer:
create table studentmarks (
regno varchar2 (5),
name varchar2(20),
sub1 number(3),
sub2 number(3),
sub3 number(3) );
1. Write the SQL query for the following questions based on given employee table.
3. Using given SQL table of electricity bill, write the appropriate SQL query.