Вопросы к Поиску с Алисой
Некоторые практические примеры использования SQL INTERVAL:
SELECT * FROM users WHERE date_joined < CURRENT_DATE - INTERVAL '30' DAY
. reintech.io SELECT CURRENT_DATE + INTERVAL '2' MONTH + INTERVAL '15' DAY;
. reintech.io SELECT * FROM events WHERE event_date > NOW() - INTERVAL 1 DAY
. www.javatpoint.com SELECT start_time + INTERVAL 2 HOUR AS adjusted_time FROM schedule
. www.javatpoint.com