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

select s.sid,s.name
from student s,
level l
where s.sid=l.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 mutating error in pl sql?

536


how mysql optimizes distinct? : Sql dba

543


What does the base_object_type column shows in the user.triggers data dictionary view?

566


What is relationship? How many types of relationship are there?

584


How to create your own reports in sql developer?

530






How do you write a complex sql query?

575


What are joins in sql?

530


What is rank () in sql?

524


What is pl sql collection?

514


What are the properties of a transaction?

548


What is the use of sql trace?

467


What are data types in pl sql?

550


How to display Row Number with Records in Oracle SQL Plus?

584


Why do we use set serveroutput on?

506


How to write pl sql program in mysql command prompt?

507