Hacker News new | ask | show | jobs
by guskel 502 days 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.

1 comments

> 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 ?]