|
|
|
|
|
by rileymat2
818 days ago
|
|
I like it starting with the desired output columns, often when I work with a db quite a bit and have common naming conventions that’s all I need to know. Even writing queries I think in terms of outputs then build the query from there. I am blanking about the advantages of starting with from, people clearly share your view, but I have no idea why. Maybe it comes from my C++ background where return type comes first, then function name, then inputs. |
|
If I’m in psql I can tab complete columns in the where clause but not in the select because I haven’t actually given any information about what I’m selecting from yet.