Error Number: 3065
Expression #1 of ORDER BY clause is not in SELECT list, references column 'elhamam1_elhamamy.farms_prices.id' which is not in SELECT list; this is incompatible with DISTINCT
select distinct date from farms_prices order by id desc limit 12
Filename: controllers/Home.php
Line Number: 249