SELECT COUNT(rewards.REWARD_ID) as reward, merchants.*, cities.ID, cities.url, locations.CITY_ID, categories.PCAT_ID FROM merchants LEFT JOIN rewards ON merchants.MERCH_ID = rewards.MERCH_ID JOIN merchant_categories ON merchants.MERCH_ID = merchant_categories.MERCH_ID JOIN categories ON merchant_categories.CAT_ID = categories.CAT_ID JOIN locations ON merchants.MERCH_ID = locations.MERCH_ID JOIN cities ON locations.CITY_ID = cities.ID WHERE 1 AND cities.url = "el-paso-tx" AND merchants.name LIKE "X%" AND merchants.status = "1" GROUP BY merchants.MERCH_ID ORDER BY merchants.name ASC LIMIT -10, 10

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10, 10' at line 1

Categories

Newest Members

LoneStar Contracting
LoneStar Contracting
0 rewards available
El Patron Taqueria Mexicana
El Patron Taqueria Mexicana
0 rewards available
Boliche Stirckers
Boliche Stirckers
0 rewards available
Peniel Studio
Peniel Studio
0 rewards available
Alondra
Alondra
0 rewards available

No results under“X”

Directory

X