I want to extract data from multiple independent tables with no relationship .
Tables are tbl_temp1, tbl_temp2, tbl_temp3, tbl_temp4,so on
Every tables have common fields ie id,value,timestamp
But the records are independent in every tables so there is no relationship between them.
I want to generate values of all tables horizontally
ie-
Value_of_tbl_temp1 | Value_of_tbl_temp2 | Value_of_tbl_temp3 | Value_of_tbl_temp4 | …
| | | |
with no duplicates of data
Please help me with the solution.
1 Answer