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 / dharmendra singh

select s.name,
c.SID
from Student s, level c
where s.sid = c.sid
and s.course = 3
and l.level = 'freshman';

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to shutdown mysql server? : Sql dba

561


How to install oracle sql developer?

556


how to calculate the difference between two dates? : Sql dba

541


Can there be more than one function with a similar name in a pl/sql block?

534


What is a design view?

515






How to avoid using cursors?

587


What is the difference between delete, truncate and drop command?

540


Can I learn sql in a week?

540


What are properties of the transaction?

552


what is the functionality of the function htmlentities? : Sql dba

512


Does a join table need a primary key?

522


Can we call dml statement in function?

533


what are the differences between binary and varbinary? : Sql dba

525


Is inner join same as self join?

571


How do I view an execution plan in sql?

519