SQL writing for 10 June 2024