Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql view where tables have same column name combine results

SELECT table1.Column1, table1.Column2
FROM table1

UNION

SELECT table2.Column1, table2.Column2
FROM table2
Source by www.essentialsql.com #
 
PREVIOUS NEXT
Tagged: #sql #view #tables #column #combine #results
ADD COMMENT
Topic
Name
4+4 =