ese codigo tambien me da error.
y usando una doble declaracion:
Código MySQL:
Ver originalpedidos_general
AS PG
, pedidos_datos
AS PD
, pedidos_info
AS PII
WHERE PG.Fecha
< '20120101'
tengo nuevamente el mismo error
Cita: #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 'AS PG, pedidos_datos AS PD, pedidos_info AS PII FROM PG, PD, PII WHERE PG.Fe' at line 2
que molesto que una sentencia tan simple de tantos problemas...