I'm having trouble trying to figure out how to run a query. I want to only select distinct order_ids, but list all columns. I know I have to use a GROUP BY s.order_id, but I can't figure out where to put it. I get an error everywhere I go. Any ideas?

Code:
SELECT DISTINCT( s.order_id ), * FROM schedule AS s 
   INNER JOIN schedule_detail AS sd ON s.s_id = sd.s_id 
   WHERE sd.invoice_id = 0 AND s.shipped_quantity = s.quantity
   AND s.quantity > 0
FYI, using Postgres.