Given a table that was created using the following query:

CREATE TABLE people (
  id INT PRIMARY KEY,
  name VARCHAR(45)
)
Will the following query delete ALL records from this table?:
DELETE FROM people WHERE id>=0
Explanation
Id field is of INT type, so it can store negative values.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
SQL quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes