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 / dharmendra singh

select s.name,
c.SID
from Student s, level c
where s.sid = c.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 are different types of statements supported by sql?

821


How can use stored procedures in sql?

773


how tsql statements can be written and submitted to the database engine? : Transact sql

714


what happens if you no create privilege in a database? : Sql dba

718


how to convert dates to character strings? : Sql dba

734






what are the system privileges that are required by a schema owner (user) to create a trigger on a table?

811


How many functions are there in sql?

724


Write a sql select query that only returns each name only once from a table?

759


What is example of database?

700


What are pl/sql cursors?

728


What is the limitation on the block size of pl/sql?

705


How do I run a sql trace?

692


How to place comments in pl/sql?

797


what is a stored procedure? : Sql dba

783


What is record type in pl sql?

749