简体   繁体   中英

Creation of single column view from three multiple table columns

How can I create view with single column by using three different table columns? For example drug_name from table drug, synonym column from drug_info table and brand column from drug_b tables in single column?

select drug_name from drug 
union
select synonym from drug_info 
union
select brandfrom drug_b tables

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM