Skills101
← All practice quizzes

Quiz: Relational Algebra

5 questions · new set on every retakeNo time limitPass: 60%+10 XP on first pass

The operators behind every SQL query — σ, π, ∪, −, ×, ⋈ and ÷ — explained on small tables, each with the matching SQL query and its real result.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    Which relational algebra operator corresponds to the WHERE clause?

  2. Question 2

    A table has 10 rows. π dept (table) returns 4 rows. Why?

  3. Question 3

    R has 5 rows and S has 3 rows. How many rows does R × S have?

  4. Question 4

    What condition must two relations meet before you can take their union?

  5. Question 5

    "Find suppliers who supply every part." Which operator fits this query?

🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →