1. Which SQL expression returns the numeric day of the week (0 = Sunday, 6 = Saturday) in PostgreSQL?
- EXTRACT(DOW FROM order_date)
- EXTRACT(DAY FROM order_date)
- DATE_PART('day', order_date)
- DOW(order_date)
Hint: The 'DOW' (Day of Week) field in EXTRACT extracts the day index from 0 (Sunday) to 6 (Saturday).