The following query isn't working for me. Can someone tell me what I'm doing wrong:

Code:
DELETE FROM 
  gs_shipments AS s,
  gs_waypoints AS w 
WHERE 
  s.tracking_number =  '157026850207366' 
  AND s.is_offset =0 
  AND s.shipment_id = w.shipment_id 
  AND s.user_id =119