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 / raksha

select s.sid,s.name
from student s,
level l
where s.sid=l.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

how to use in conditions? : Sql dba

514


What is data abstraction in sql?

515


how to write date and time literals? : Sql dba

534


Can we use join in subquery?

568


What is asqueryable?

533






Does truncate release storage space?

563


What does pl sql stand for?

659


What is trigger and stored procedure in sql?

559


Explain autonomous transaction.

640


what is the difference between inner and outer join? Explain with example. : Sql dba

552


Explain normalization and what are the advantages of it?

518


Do we need commit after truncate?

616


Is sql a backend language?

625


how to fetch common records from two tables? : Sql dba

633


What does <> sql mean?

542