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 does over partition by mean in sql?

541


What is the difference between distinct and unique in sql?

478


What is insert command in sql?

532


Explain autonomous transaction.

642


What is the difference between clustered and non-clustered index in sql?

529






Which function is used to return remainder in a division operator in sql?

589


explain the difference between bool, tinyint and bit. : Sql dba

534


Is like operator in sql case sensitive?

516


Which one is better sql or oracle?

506


Is it possible to sort a column using a column alias?

610


Is sql a programming?

552


What makes a good primary key?

528


Explian rowid, rownum? What are the psoducolumns we have?

578


What is difference between sql and oracle?

570


What is pl sql and why it is used for?

581