Hi,
Firstly; I'm not a developer, but a business developer and statistics guy.
This means that I'm happy using "basic" selects to gather information for
analysis.
One thing that could really efficiate my work is using variables, let's say
I have a table with different orders;
|customer_id|produc
How do you access your database?
Through some client application like psql ? Through some other mean?
The query you included is the query you wanna perform against ur table?
Or was it just an example?
Do you wanna avoid having to write the complete query on the command line?
If so, you sound li