Comments
-
Maybe you need backticks on the last line, like this: SELECT * FROM `elevate_seats_june_28_2018` INNER JOIN `sales_persons_master` ON `elevate_seats_june_28_2018`.`Email Address` = `sales_persons_master`.`EMAIL` Personally, when in doubt, I backtick every table name and field name.