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

how can we optimize or increase the speed of a mysql select query? : Sql dba

504


What are field types?

535


What is database migration?

517


What is the life of an sql statement?

523


What will you get by the cursor attribute sql%rowcount?

549






What is a schema? How is it useful in sql servers?

591


what is the difference between rownum pseudo column and row_number() function? : Sql dba

616


How can I delete duplicate rows?

562


What are the basic techniques of indexing?

573


How many postgresql users are there, worldwide?

578


Is sql a microsoft product?

496


what is a database? : Sql dba

604


What are the advantages of normalization?

554


What is a variable in sql?

511


What are the types of variables use in pl sql?

503