Column1|column2| xx |yy | zz |AA | BB |cc | Tabel 2(After selct statement of the table i am getting these two below columns) <pre lang="xml">Column1|Column2| DD |FF | GG |HH | i need the combination of two tables should be like below Table 3 <pre lang="vb">Column !|Column 2| xx |yy | zz |AA | BB |cc | DD |FF | GG |HH |</pre></pre>
SELECT Column1, Column2 FROM Table1 UNION ALL SELECT YourCol1 AS Column1, YourCol2 AS Column2 FROM Table2
Select column1,column2 from table1 [where CONDITION] UNION ALL Select column1,column2 from table2 [where CONDITION]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)