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.
SQL
SQL Quiz
Start Quiz

or Read more about SQL Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback