New Products New Products
 
1054 - Unknown column 'p.products_group_access' in 'where clause'

select count(distinct p.products_id) as total from ((products p left join products_groups pg on p.products_id = pg.products_id and pg.customers_group_id = 'G') left join specials s using(products_id)), products_description pd where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '1' and p.products_group_access like '%G%' and DATE_SUB(CURDATE(),INTERVAL 30 DAY) <= p.products_date_added

[TEP STOP]