MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 4
MySQL Query:
SELECT product_id
								 FROM shop_products
								 WHERE product_state != 'D' 
								  AND (product_id in (select product_id from shop_products_categories where category_id='74') or category_id='74') AND product_state = 'A'  ORDER by 1 LIMIT 1,-1

MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 4
MySQL Query:
SELECT product_id
								 FROM shop_products
								 WHERE product_state != 'D' 
								  AND category_id='74' AND product_state = 'A'  ORDER by 1 LIMIT 1,-1
Productos - Playa-Vacaciones - Al aire libre - Ideko
Inicio
 
Al aire libre
Playa-Vacaciones

Playa-Vacaciones

Al aire libre
Ver todos los productos de Playa-Vacaciones

1

Otras subcategorías de Al aire libre