sql - retrieve Number of days between order date and shipment date -
order table has order date , shipment date. need retrieve number of days between order date , shipment date. example: order date = 31/08/96 shipment date= 10/09/96 oracle 11g.
just subtract them, e.g. in select date2 - date2 total_days dual
Comments
Post a Comment