View difference between Paste ID: 4L1iAj6s and tHPXWHCu
SHOW: | | - or go back to the newest paste.
1-
SELECT *
1+
SELECT email
2-
FROM invoice
2+
FROM staff
3-
WHERE EXTRACT(DAY FROM CAST(invoice_date AS TIMESTAMP)) IN (1);
3+
WHERE city = 'Calgary'
4
AND EXTRACT(YEAR FROM CAST(hire_date AS TIMESTAMP)) IN (2002);