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 'where price <=14.9999 ) union (select count(*) as c,price from where price>=' at line 1
in:
[(select count(*) as c,price from where price <=14.9999 ) union (select count(*) as c,price from where price>=15 and price<=19.9999 ) union (select count(*) as c,price from where price>=20 and price<=25.9999 )]