Tableau Data Connections/Union Custom SQL
1) Open Tableau Desktop 2020.2.2 or any below versions
2) Click on Connect to data
3) Drag to data grid or double-click the New Custom SQL option on the Data Source page
4) Enter the query in the text box
5) Click ok