Can anyone recommend a site for Ingres SQL documentation?
Also, how do you tell what version of Ingres you have? We are running queries to extract data from an Ingres database over ODBC.
One particular query we are having trouble with is something like this (Oracle equivalent):
Code:
SELECT account_no
, MIN(LEAST(date1, date2)) AS first_bill_date
, MAX(GREATEST(date1, date2)) AS last_bill_date
FROM bill_history
GROUP BY account_no;
Thanks in advance