Quiz Space

Database Management Systems · Quiz 1 · 23 Feb 2025 · January 2025 term

Question 12: Consider the tables student and course as shown below. |…

Question 12

+4 marksNumerical answer

Consider the tables student and course as shown below.

IDnamedept_name
21f11RamCS
21f12RakeshME
21f13PranavEE
21f14RajibCS
21f15VikashBT

Table 8: student

course_idtitledept_name
C001DBMSCS
C002CADME
C003DigitalEE
C004PDSACS

Table 9: course

How many rows are returned by the below query?

sql
(SELECT ID FROM student,course
EXCEPT ALL
SELECT ID FROM student)
EXCEPT
SELECT ID FROM student
Show answer

Correct answer: 0

Question 12 of 14 in the IIT Madras BS Database Management Systems (DBMS) Quiz 1 paper sat on 23 Feb 2025, in the January 2025 term (IIT M DIPLOMA AN EXAM QDD2 23 Feb 2025). It carries 4 marks.

More questions from this paper

  1. Q1Which level of abstraction is responsible for providing data security by limiting access to specific data views?
  2. Q2Consider the relation student shown in Table 5. | roll_no | name | house_name | |---|---|---| | 1 | John | Nilgiri | | …
  3. Q3Consider the tables Products and Suppliers given below: | P_ID | P_Name | S_ID | |---|---|---| | 1 | Laptop | 3 | | 2 |…
  4. Q4Consider a relational database for Formula One Racing containing the following tables. | D_ID | D_Name | T_ID | Points …
  5. Q5Consider the following relations:\ auto_part(<u>pid</u>, pname, color)\ auto_suppliers(<u>sid</u>, sname, location)\ ca…
  6. Q6Figure question
  7. Q7Figure question
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Consider the following Students table | student_id | name | grade | marks | |---|---|---|---| | 1001 | Alice | A | 85 |…
  11. Q11Consider relations Book and Author shown in Table 6 and Table 7 | BookID | Title | AuthorID | Genre | |---|---|---|---|…
  12. Q13In the Enrollment table, which of the following is a typical way to handle the primary key?
  13. Q14In a typical design, what is the relationship between the Student table and the Enrollment table?