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

What is insert command in sql?

524


What is the difference between sql and t sql?

533


What are the possible values for the boolean data field?

517


what is index? : Sql dba

556


What is trigger types in sql?

529






What is recursive stored procedure?

597


How to read/write files from pl/sql?

578


What is sql performance tuning?

492


What is the usage of the distinct keyword?

682


Can we create foreign key without primary key?

530


When sql appeared?

615


Explain 3 basic parts of a trigger.

830


Which is better varchar or nvarchar?

546


Can we write ddl statements in functions?

564


How does left join work in sql?

514