Errant query: select (cat_hotel + cat_hotel2 + cat_shopping + cat_restaurant) AS category,jos_content.id,jos_content.latitude,jos_content.longitude,jos_content.created,jos_content.created,jos_content.title,jos_content.introtext, catid from jos_content,jos_categories, jos_cities where jos_content.catid= jos_categories.id and jos_categories.parent_id=jos_cities.id_city and jos_cities.city like 'Riyadh%' and jos_categories.title like '%City-Information%' and jos_content.state=1 order by jos_content.title asc LIMIT 18