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

SELECT
S.Name
,S.SID
FROM Student S
INNER JOIN Level L ON S.SID=L.SID
WHERE S.Course=3 AND L.level='freshman'

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is left join inner or outer?

759


Can you select everything, but 1 or 2 fields, without writer's cramp?

690


how can we find the number of rows in a table using mysql? : Sql dba

790


What is varchar sql?

814


What is the difference between python and sql?

709






Can you have more than one trigger on a table?

709


Which command is used to call a stored procedure?

713


Can I create table without primary key?

733


What is trigger in sql?

784


How do I audit the sql sent to the server?

730


How would you pass hints to the sql processor?

704


What is the use of prepared statement?

749


What does 0 mean in sql?

694


What are the types of records?

743


What is the difference between jpql and sql?

784