Sắp xếp theo 3 ký tự đầu tiên của chuỗi
order by left(name, 3) asc
Lấy thứ mấy từ date
select weekday(date) as weekday