engineering computer science MCQ #733

Which of the following is a valid SQL query to retrieve all columns from the 'employees' table?

engineering computer science MCQ #733

  1. Question 1

    Q1. Which of the following is a valid SQL query to retrieve all columns from the 'employees' table?

    • A) SELECT * FROM employees
    • B) SELECT employees FROM *
    • C) SELECT ALL FROM employees
    • D) SELECT employees.*

    Answer: SELECT * FROM employees

    Explanation: The SQL query 'SELECT * FROM employees' retrieves all columns from the employees table, using the '*' wildcard to represent all columns.