No, the order of commands in SQL doesn’t matter. However, the most common way to write your SQL queries is in this order: SELECT, FROM, JOIN, WHERE, GROUP BY, GROUP BY, ORDER BY, and LIMIT. Regardless of what order the commands are written, SQL will be reading your commands in the following order: FROM, JOIN, WHERE, GROUP BY, HAVING, SELECT, ORDER, LIMIT.
SQL tables need primary keys to be joinable, and to be easily referenced afterwards. Hence, every SQL table needs to have a primary key defined.
Columns in the same table cannot have the same name.