datetime.minvalue in sql code example Example: sql min datetime ex1: SELECT MIN (ord_date) AS "Min Date" FROM orders;