engineering computer science MCQ #762

What is the result of the SQL query 'SELECT * FROM customers WHERE age > 18 AND country='USA';'?

engineering computer science MCQ #762

  1. Question 1

    Q1. What is the result of the SQL query 'SELECT * FROM customers WHERE age > 18 AND country='USA';'?

    • A) Customers from USA who are older than 18
    • B) Customers from USA who are younger than 18
    • C) Customers from USA
    • D) Customers who are older than 18

    Answer: Customers from USA who are older than 18

    Explanation: The SQL query uses the AND operator to select customers who are both from USA and older than 18, resulting in a filtered result set.