SQL LEARNING PLATFORM
Working with dates - extraction, arithmetic, formatting.
Learning Blocks
Interactive Queries
Concepts you'll master
Getting current date and time
Extracting year, month, day from a date
Calculating differences between dates
Adding and subtracting intervals
Filtering by date ranges
SELECT order_id, order_date, total FROM orders WHERE order_date >= DATE_SUB(CURDATE(), INTERVAL 90 DAY);
Practice your SQL skills