← 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?
- A.WHERE city = 'Jaipur'
- B.WHERE city = Jaipur
- C.WHERE city == "Jaipur"
- 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 →