r/programming • • Jul 02 '16

Learn PostgreSQL by doing

https://pgexercises.com
754 Upvotes

129 comments sorted by

View all comments

Show parent comments

25

u/rMBP Jul 02 '16

LIMIT 1

14

u/snaky Jul 02 '16

In PostgreSQL FETCH FIRST 1 is preferrable since version 8.4

3

u/ryeguy Jul 02 '16

Why is it preferred? It just seems to be a synonym for limit.

4

u/[deleted] Jul 03 '16