|
|
 |
1064 - 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 'order by featured_date_added DESC limit 10' at line 7
select featured_id from featured
join products_to_categories on featured.products_id = products_to_categories.products_id
join products on featured.products_id = products.products_id
where featured.status = '1'
and products.products_status = '1'
and products_to_categories.categories_id =
order by featured_date_added DESC limit 10
TEP_DB_ERRORR
|