A Database Error Occurred
Error Number: 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 'ORDER BY t.orden' at line 7
SELECT s.unidades, s.id id_stock, t.talla, t.id FROM stock s INNER JOIN talla t ON t.id=s.id_talla WHERE s.id_producto=597 AND s.id_color= ORDER BY t.orden