close

Ingrea tu correo electrónico y la orden de compra

Buscar pedido
close

Italfrenos

SKU:
Error description: 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 p.id' at line 1

SELECT p.id, (select neto from listas_productos where lista_id = 3 and sku = pd.sku) as lista_cliente, (select neto from listas_productos where lista_id = 5 and sku = pd.sku) as lista_descuento, (select neto from listas_productos where lista_id = 22 and sku = pd.sku) as lista_cyber, pd.id FROM productos p, productos_detalles pd WHERE p.id = pd.producto_id and pd.id = ORDER BY p.id