is it possile to select columns from 2 different tables?
Posted: 05.05.2013, 05:19
Hello I was just wondering if it is possible to select data from 2 tables using the zquery? I have tried this sql statement:
select * from "table1"
union
select * from "table2"
But it always gets an error. I was hoping that I can display on a TDbgrid data from 2 tables.
I am using delphi7 and firebird.
Thanks.
select * from "table1"
union
select * from "table2"
But it always gets an error. I was hoping that I can display on a TDbgrid data from 2 tables.
I am using delphi7 and firebird.
Thanks.