What is the order of execution of SQL commands?

How does the SQL commands flow at the back end?