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

What are sql objects?

538


Explain the uses of a database trigger?

565


What is the starting oracle error number? What is meant by forward declaration in functions?

538


What are operators available in sql?

585


Can a procedure in a package be overloaded?

544






what are all types of user defined functions? : Sql dba

544


Is pl sql still used?

507


What is write ahead logging in sql server?

560


what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

543


What is aggregate function in sql?

531


How do you run a query?

587


What are the sql aggregate functions?

603


How do I find duplicates in the same column?

542


How do I filter in sql profiler?

534


What is sql partition function?

612