πŸ“Š MySQL
Q. What does `UNION` do in SQL?
  • (A) Combines rows from two tables and removes duplicates
  • (B) Updates records in two tables
  • (C) Creates a new table
  • (D) Links tables permanently
πŸ’¬ Discuss
βœ… Correct Answer: (A) Combines rows from two tables and removes duplicates

Explanation: `UNION` combines results of two `SELECT` queries and removes duplicate rows.

Explanation by: Mr. Dubey
`UNION` combines results of two `SELECT` queries and removes duplicate rows.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
72
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate