Given two tables Student(SID, Name, Course) and Level(SID,
level) write the SQL statement to get the name and SID of
the student who are taking course = 3 and at freshman level.

Answer Posted / vishu

Select Name,SID from Student
where SID in(Select SID from level where level='freshman')
and Course=3;

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest version of sql?

515


What is dml statement?

509


What is the difference between an inner and outer join?

529


Are stored procedures faster than dynamic sql?

521


What are pl sql procedures?

508






What is scalar function in sql?

525


tell me about various levels of constraint. : Sql dba

526


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

526


Where is sql database stored?

508


explain the delete statements in sql

574


What is a unique constraint?

604


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

506


Write an sql query to select all records from the table?

551


What is group function in sql?

522


How many types of normalization are there?

483