Eh. I’m not convinced by this. I may know what I want to query as often or more than knowing where it comes from.
I suppose it could be nice if the user could specify clauses in an arbitrary order but it’d certainly add complexity.
I don’t find it difficult to jump around a bit from clause to clause while writing a query. In fact, it’s incredibly rare to write a query straight through and have it do what you want it to do.
Go further: `FROM users WHERE name LIKE 'a%' SELECT name, id, location` - after all, you can WHERE on things that aren't projected by SELECT
A human would grab the paper with the right table on it then search for the row he wants with his finger and finally gets the phone number from the row.
Re:I don't need your query language
by user3939382 on Saturday June 17, 2023 @07:16AM
(#36369166)
There was an article on HN about this maybe 6 months ago. I’m in agreement.
O well, if we are going to be like that?:
FROM users WHERE name LIKE 'a%' SELECT name, id, location
(I should refresh the page before posting)
I might be wrong, but there’s nothing to stop a front end UI from accepting this syntax and then writing out canonical SQL to do the actual query, is there?
Re:I don't need your query language
by valenterry on Saturday June 17, 2023 @01:45PM
(#36372489)
Exactly, it puzzles me that tooling doesn't do that...
You know I think you're right.