Domanda di colloquio di Shopee

Why do you use this SQL codes to execute? can you use something else?