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

select s.name,s.sid from student s,level l
where s.sid=l.sid
and s.course=3
and l.level='freshman'

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What found sql?

516


Does truncate release storage space?

548


How do I use google cloud in sql?

528


What is sql and db2?

526


What are different types of functions in sql?

503






How do you go back in sql?

524


how can we know the count/number of elements of an array? : Sql dba

564


What is the difference between an inner and outer join?

529


Is primary key a clustered index?

527


Does inner join return duplicate rows?

512


What is #table in sql?

511


Explain normalization and what are the advantages of it?

514


What is interval partition?

537


How do you define a foreign key?

524


What do you understand by pl/sql records?

526