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

Quiz: SQL Basics · Question 4 of 10

Which is correct SQL for text values?

Which is correct SQL for text values?

  1. A.WHERE city = 'Jaipur'
  2. B.WHERE city = Jaipur
  3. C.WHERE city == "Jaipur"
  4. D.WHERE city := 'Jaipur'
Answer & explanation

Correct answer: WHERE city = 'Jaipur'

Text values use single quotes and a single =.

Can you get the rest right without peeking?

Take the timed Quiz: SQL Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →