I have 4 tables, Table a, Table b and Table c have same field names but Table d is having different field names, but I need to join the queries and have to be exported as a CSV file.
select a.name,a.age,b.addr from a,b where a.rid=b.tid UNION select
a.name,a.age,c.addr from a,c where a.uiroll=c.piroll
I need to join table d also , but it has some fields and what I require are d.group and d.project and they are related to table a as d.uon=a.von
The result in cvs file should be as
name age addr group project
and also the values.
Did you try something like :