top | item 42828095

(no title)

guskel | 1 year ago

To each their own.

Others would say datalog elegant and makes it easy to compose statements whereas SQL has an ugly syntax. I mean, ORMs were invented to try to avoid writing SQL but they too have their own problems.

discuss

order

sgarland|1 year ago

> SQL has an ugly syntax

Speak for yourself. I’ve always found it to be very clear and concise.

    SELECT <tuples> FROM <table> [[type of] JOIN other_table ON ?, …] [WHERE ? [boolean operator], …] [ORDER BY ? [DESC]] [LIMIT ?]