Hackbright lessons in SQL