Removed quoteName where not necessary (aliased tables)