engineering computer science MCQ #745

In SQL, what is the purpose of the JOIN clause?

engineering computer science MCQ #745

  1. Question 1

    Q1. In SQL, what is the purpose of the JOIN clause?

    • A) To combine rows from two or more tables based on a related column
    • B) To filter data based on conditions
    • C) To sort data in ascending or descending order
    • D) To group data based on one or more columns

    Answer: To combine rows from two or more tables based on a related column

    Explanation: The JOIN clause combines rows from two or more tables based on a related column between them, allowing for more complex queries.