sql from access-pls analyze this error
Hi,
This is the error i recieved [phpmyadmin] when when tried to qry table in MySql
with sql from a working access db
Error
SQL query: Documentation
SELECT OrderDetails.OrderID, OrderDetails.DateSold, OrderDetails.SalePrice, Query1.Referedby1, [SalePrice] * 0.04 AS ReferredBy1Comm
FROM OrderDetails
INNER JOIN Query1 ON OrderDetails.ContactAutoID = Query1.ContactAutoID
WHERE (
(
(
Query1.Referedby1
) IS NOT NULL
AND (
Query1.Referedby1
) >0
)
);
MySQL said: Documentation
#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 '[SalePrice]*0.04 AS ReferredBy1Comm
FROM OrderDetails INNER JOIN Query1 ON Orde' at line 1
not that wellversed in sql...pls help
sunil
Subject
Views
Written By
Posted
sql from access-pls analyze this error
2377
July 06, 2006 08:12AM
1472
July 06, 2006 09:10AM
1513
July 07, 2006 08:42AM
1529
July 07, 2006 09:25AM
1548
July 08, 2006 12:48AM
1432
July 08, 2006 07:28AM
1380
July 08, 2006 11:39PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.