Tables aliases have been specified for all tables in the FROM clause of this SELECT statement. After they have been specified, these table aliases must be used. You can’t mix tables aliases with real table names as shown below. It will generate an error.
Instead, you should have done the following query to make it work.