Q1medium
A query plan shows a "Sequential Scan" on a table of 10 million rows, even though there is a WHERE id = 500 filter and an index on id exists. What could be a technical reason for this?
Topic-wise practice questions for Database Management Systems. Test your knowledge, check solutions on demand, and pace your preparation.
EXPLAIN SELECT * FROM users WHERE id = 1;
-- Output: