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

Can I create table without primary key?

533


Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?

625


What is the requirement of self-join?

546


What is the difference between inner join and natural join?

513


Write a sql query to convert all character to uppercase after hypen.

966






What is interval partition?

546


How does sql store data?

487


Does a primary key have to be a number?

522


What are the sql commands?

613


How do you remove duplicates without using distinct in sql?

506


how to select first 5 records from a table? : Sql dba

509


explain the difference between myisam static and myisam dynamic. : Sql dba

519


what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba

579


How do you update f as m and m as f from the below table testtable?

1091


What is a behavioral trigger?

517