The database system processes the query by executing two SELECT statements first. The columns returned by the SELECT statements must have the same or convertible data type, size, and be the same order. To use the UNION operator, you write the dividual SELECT statements and join them by the keyword UNION. Table2 Code language: SQL (Structured Query Language) ( sql )
0 Comments
Leave a Reply. |