Questions: SQL: SELECT Statement and Basic Queries

3 questions to test your understanding

Score: 0 / 3
Question 1 Multiple Choice

A table 'employees' has columns: id, name, salary, department. Which query returns only the name and salary columns for every row?

ASELECT * FROM employees
BSELECT name, salary FROM employees
CSELECT employees WHERE columns = name, salary
DGET name, salary FROM employees
Question 2 True / False

Without an ORDER BY clause, a SQL SELECT query guarantees that results are returned in the order the rows were inserted into the table.

TTrue
FFalse
Question 3 Short Answer

In relational algebra terms, what two operations does a basic SELECT ... FROM ... query perform, and how do they map to parts of the SQL syntax?

Think about your answer, then reveal below.