Using SQL is perfectly fine.
Datalog on the other hand is absurdly hard to work with.
Datalog on the other hand is absurdly hard to work with.
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.
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 ?]