I have two tables and want to return both table’s rows. Both tables do not have any relation.
Table 1 has columns userid, name, and other columns… and Table 2 has only two columns id, name.
I want both table results in one query result set.
Table results:
userid name and other columns from Table 1.
id name and NULL, NULL should show as Table 2 do not have extra columns.
Use a
union