Difference between union and Union All

Union performs the union operation on the two result sets, and only displays the duplicate data once

. Union All, performs the union operation on the two result sets, and displays all the duplicate data.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326702342&siteId=291194637