select Customers.cust_name,Orders.order_num from Customers,Orders

where Customers.cust_id=Orders.cust_id

order by Customers.cust_name asc,Orders.order_num asc

inner join select Customers.cust_name,Orders.order_num from Customers inner join Orders on Customers.cust_id =Orders.cust_id order by cust_name asc,order_num asc