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 / smriti

select s.name,s.sid from student s,level l
where s.sid=l.sid
and s.course=3
and l.level='freshman'

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does join work in sql?

727


What is database migration?

696


What is a schema? How is it useful in sql servers?

792


What is cursor and why it is required?

795


Are stored procedures faster than queries?

697






tell us something about heap tables. : Sql dba

822


What is sp_helptext?

772


what is csv? : Sql dba

759


What are stored procedures in mysql?

760


What are joins in sql?

719


Explain the difference between drop and truncate commands in sql?

740


What is pl/sql language case sensitive?

828


Mention what is the use of function "module procedure" in pl/sql?

784


Are stored procedures compiled?

678


How does one use sql*loader to load images, sound clips and documents? : aql loader

883