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 ' price from join color on (.color_id=color.color_id) join size on (.size_id=siz' at line 1