Skip to content
Generated SQL · drill

A query an agent wrote

An agent produced `SELECT * FROM events WHERE lower(email) = '[email protected]' ORDER BY id`. It returns the right rows. Write the query that returns the same id, actor_id and happened_on — and lets the database use the index it already has.

Your query

⌘⏎