🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Checking AI-Written SQL: all 10 questions

Quiz: Checking AI-Written SQL · Question 6 of 10

A student has 2 payments and 3 submissions. Joining both tables to the student and taking SUM(amount) adds each payment…

A student has 2 payments and 3 submissions. Joining both tables to the student and taking SUM(amount) adds each payment how many times?

  1. A.Once
  2. B.Twice
  3. C.Three times
  4. D.Six times
Answer & explanation

Correct answer: Three times

2 × 3 = 6 joined rows, so each payment appears once per submission.

Can you get the rest right without peeking?

Take the timed Quiz: Checking AI-Written SQL quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →