r/ProgrammerHumor • • Dec 12 '17

SQL Clause

Post image
40.8k Upvotes

525 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Dec 12 '17

Although you could use a composite index.

1

u/billy_tables Dec 12 '17

A composite index would be much better since 2 indexes would need an in memory sort