Quiz Space

Database Management Systems · Quiz 1 · 7 Jul 2024 · May 2024 term

Question 6: Consider the following relations: players(<u>pid</u>, nam…

Question 6

+3 marksOne or more correct options

Consider the following relations:

players(pid, name, age, jersey_no)
teams(team_name, matches, points, pid)
Choose the correct TRC or DRC expression which is equivalent to the below SQL query.

sql
SELECT p.name, t.points
FROM players p natural join teams t
WHERE p.jersey_no = 7

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • A
  • C

Question 6 of 15 in the IIT Madras BS Database Management Systems (DBMS) Quiz 1 paper sat on 7 Jul 2024, in the May 2024 term (IIT M DIPLOMA AN EXAM QDD2 7 July 2024). It carries 3 marks.

More questions from this paper

  1. Q1Consider the table Champions_League for given subquestions | Name | Age | Team | Country | Goals | |---|---|---|---|---…
  2. Q2Consider the table Champions_League for given subquestions | Name | Age | Team | Country | Goals | |---|---|---|---|---…
  3. Q3Consider the following SQL statement: Which among the following will cause an integrity constraint violation in the Car…
  4. Q4Figure question
  5. Q5Figure question
  6. Q7Consider the following data for given subquestions: | Driver_ID | Name | Team | Salary | |---|---|---|---| | 55 | Carlo…
  7. Q8Consider the following data for given subquestions: | Driver_ID | Name | Team | Salary | |---|---|---|---| | 55 | Carlo…
  8. Q9Which of the following statement(s) is/are correct?
  9. Q10Consider the E-R diagram given in Figure 1 and answer the subquestions. Identify the correct relational schema for the …
  10. Q11Consider the E-R diagram given in Figure 1 and answer the subquestions. Identify the correct relational schema for the …
  11. Q12Consider the E-R diagram given in Figure 1 and answer the subquestions.
  12. Q13Consider the tables r and s. | A | B | C | D | |---|---|---|---| | p | 1 | p | a | | q | 2 | r | a | | r | 4 | q | b | …
  13. Q14Consider a relational schema:\ Parts(<u>Pid</u>, Pname, Price, Quantity)\ Vendors (<u>Vid</u>, Vname, Location, Pid) Co…
  14. Q15Consider the following table which has three attributes: X, Y and Z, where X is the primary key and Z is the foreign ke…