SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select customer, min(order_date) as FIRST_ORDER_DATE from sales join customer using (cust_no) where order_status != 'shipped' and payd = 'y' group by customer order by FIRST_ORDER_DATE

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear