Hi,
I have two tables:
- Customers
- Invoices
I got an *sql logic error* trying to execute following query using Zeos Component (ZQuery):
"SELECT Invoices.*, Customers.Name
FROM Invoices
LEFT JOIN Customers
ON Invoices.CustomerID= Customers.ID
* WHERE Customers.Name = 'Tom' "*
excluding the Where clause make the query run without problems.
Thank you
Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100112/c0d0d73e/attachment.html>
