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 nvarchar max in sql?

749


what is a database transaction? : Sql dba

822


Differentiate between pl/sql and sql?

805


Which one is faster ienumerable or iqueryable?

656


How can the performance of a trigger be improved?

774






what is a control file ? : Sql dba

759


what are the different functions in sorting an array? : Sql dba

765


What are the types of sql commands?

741


Does a user_objects view have an entry for a trigger?

757


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

717


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

701


How do rank () and dense_rank () differ?

723


what is blob? : Sql dba

737


When sql appeared?

815


What are all the different normalizations?

744