O'Reilly logo
  • Wiktor Bojanowski thinks this is interesting:

ShipDate – OrderDate

From

Cover of SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL, Fourth edition

Note

SELECT OrderNumber, (ShipDate - OrderDate) AS DaysNumToPrepOrder, CustomerID, EmployeeID FROM Orders LIMIT 15;