▲ | phito 6 days ago | ||||||||||||||||||||||||||||||||||||||||
Same here, mostly because I avoid it because I really do not like writing queries. Something about the syntax rubs me the wrong way, especially if I have to switch from MySQL/Postgres/MSSQL regularly. I'll use an ORM whenever I can, if performances do not matter. | |||||||||||||||||||||||||||||||||||||||||
▲ | mattmanser 6 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
It's because it's logically in the wrong order, it should be:
They use the right order in a lot of ORMs and as I was a SQL expert (but not master), I found it so jarring at first.You probably have the reverse problem, it doesn't fit your mental model which is in fact the right logical model. It gets even worse when you add LIMIT/TOP or GROUP BY. SQL is great in a lot of ways, but logically not very consistent. And UPDATE now I think about it, in SQL Server you get this bizarreness:
| |||||||||||||||||||||||||||||||||||||||||
|