Change Password

What is the purpose of the UNION operator in SQL, and how does it differ from the UNION ALL operator?
UNION and UNION ALL are interchangeable and produce the same results
UNION combines and returns distinct rows from multiple SELECT statements, while UNION ALL returns all rows, including duplicates
UNION is used for text data, while UNION ALL is used for numeric data
UNION ALL combines and returns distinct rows from multiple SELECT statements, while UNION returns all rows, including duplicates