Practical extension of some knowledge in sql tutorial

1. SELECT cst_name FROM `cst_customer` union all SELECT cst_name FROM `cutomer`; display all, duplicates are also displayed

Removed all duplicates will not be displayed, even if there are multiple duplicate data in a table, only one will be displayed

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325852171&siteId=291194637