let's assume I have two tables:
- * customer with id and name and
* orders with id, customer id, (product) name and order number.
Code: Select all
SELECT * FROM customer LEFT JOIN customer ON customer.id = customerid
When I'm working with UniDAC I have to use something like "name_1" which is not really comfortable.
Is there a better way? For example TUniQuery.Table('orders').FieldByName('name').AsString
Thank you.