Error: syntax: select sql_no_cache DISTINCT(g.id),g.name,g.product_id FROM store_groups g,store_packages p WHERE g.product_id=34 AND g.id=p.group_id ORDER by p.dosage DESC -Expression #1 of ORDER BY clause is not in SELECT list, references column 'medstoreus.p.dosage' which is not in SELECT list; this is incompatible with DISTINCT
Line: 295
File: /var/www/medstoreus.com/include/classes/db.php