Too many results returned from SQL query There are four tables: Attributes, Place_Attributes, Place_Categories, and Categories.