Hi,
I wrote the following query.it shows this error.
Error:Ambiguous column name 'ondate','invoicedate','invoiceno','compname'
i am having the tables like tbl_report1,tbl_report2 .i combine these two tables and retrieve the data and structure into tbl_company.but it shows the error.
tbl_report1 columns:
invoiceno(fk),orderno,paritculars,quantity,perprice,amount,invoicedate,ondate,compname
tbl_report2 columns:
compname,compaddress,invoiceno(pk),orderno,invoicedate,ondate,amountstatus,netamount,netvat,tamount
tbl_company columns-i want to combine above both tables and getting data and structure in that time it shows the error.
Best,
Sudheep.