engineering computer science MCQ #895

What is the result of a SQL query with a DISTINCT keyword?

engineering computer science MCQ #895

  1. Question 1

    Q1. What is the result of a SQL query with a DISTINCT keyword?

    • A) All rows, including duplicates
    • B) Unique rows, without duplicates
    • C) An error message
    • D) A single row

    Answer: Unique rows, without duplicates

    Explanation: DISTINCT keyword removes duplicate rows, returning only unique rows in the result set.