[Events] Generated SQL