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 / debanjan rudra

select stud.name NAME,
stud.sid SID
from student stud,
level lvl
where stud.course = 3
and lvl.level = 'freshman';

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is trigger types of trigger?

556


how to concatenate two character strings? : Sql dba

556


What are different types of indexes?

512


What is the difference between joins?

539


what is the difference between char_length and length? : Sql dba

576






What is rank function in sql?

534


What are instead of triggers?

628


What are the possible values that can be stored in a boolean data field?

517


Can triggers stop a dml statement from executing on a table?

620


What are types of exception?

540


How do I turn a list into a table?

514


how do you login to mysql using unix shell? : Sql dba

568


How do I find duplicates in a single column in sql?

540


Is left join inner or outer by default?

528


What is a variable in sql?

518