G
Guest
Table BOX has four relevant fields: order, box_id, ship_date, and trackno.
Table UPS has two fields: TrackNum and OrderRef.
I need to update the trackingno field in the box table by inserting the
value found in the tracknum field of the UPS table. (Note order=OrderRef)
My problem is that there are several boxes in each order and I need to enter
the tracking number to only one box. (usually the most recent)
How can I select the max(ship_date) and still update?
Table UPS has two fields: TrackNum and OrderRef.
I need to update the trackingno field in the box table by inserting the
value found in the tracknum field of the UPS table. (Note order=OrderRef)
My problem is that there are several boxes in each order and I need to enter
the tracking number to only one box. (usually the most recent)
How can I select the max(ship_date) and still update?