Solved: What does the SQL/MySQL Aliases syntax do and mean?

Question: Refer to the below SQL statement for syntax highlighted in bold. SELECT t1.* FROM provider_payments t1 WHERE t1.id = (SELECT MAX(t2.id)FROM provider_payments t2 WHERE t2.account_id = t1.account_id) Normally after the FROM clause, we would see “tablename1, tablename2”, but here we can not see a comma behind the table name. Read on below explanation to …