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

how can we know the number of days between two given dates using mysql? : Sql dba

549


What is the difference between syntax error and runtime error?

615


What is the use of nvl function?

620


How to add a column ‘salary’ to a table employee_details?

595


What is a table partition?

599






what is union? : Sql dba

586


How to Execute a Package in PL/SQL.?

588


What does (*) mean in sql?

527


What is the difference between inner join and outer join?

535


how is exception handling handled in mysql? : Sql dba

554


What is a behavioral trigger?

517


what does the t-sql command ident_incr does? : Transact sql

605


What is rownum?

543


What is microsoft t sql?

490


How do I debug a stored procedure?

631