Loading section...
SELECT Without FROM
Basic Example This performs simple math. No table needed. SQL acts like a calculator. Result: 6. This retrieves metadata from the database server itself; the current timestamp. Useful for logging when queries run or timestamping data pipeline operations. Practical Applications Why This Matters Which approach returns the current date in a standard format? This pattern has been available in SQL for decades, though it wasn't always so simple.