Newest 2026 Questions and Correct Detailed Answers
Already Graded A+
What is a relational database? - CORRECT ANSWER-A database that stores
data in tables (relations) with rows and columns that can be linked using keys.
What is a table row called? - CORRECT ANSWER-A tuple or record.
What is a table column called? - CORRECT ANSWER-An attribute.
What is a primary key? - CORRECT ANSWER-A column (or columns) that
uniquely identifies each row in a table
Rules:
1. Cannot contain NULL
2. Must be unique
What is a foreign key? - CORRECT ANSWER-A column that references the
primary key of another table to create a relationship.
,What is the basic SELECT syntax? - CORRECT ANSWER-SELECT column1,
column2
FROM TableName;
How do you select all columns? - CORRECT ANSWER-Using the asterisk (*) key
with the SELECT clause.
SELECT *
FROM TableName;
How do you filter the SELECT clause to return only specific criteria? - CORRECT
ANSWER-using the WHERE clause, which comes after the FROM Table clause.
SELECT column
FROM TableName
WHERE condition;
exp:
SELECT CourseName
FROM Course
, WHERE Capacity > 100;
What are the SQL Comparison operators? - CORRECT ANSWER-Operator
Meaning
= Equals
<> or != Not Equal
> Greater Than
< Less Than
>= Greater or Equal
<= Less or Equal
What are the Logical Operators in SQL? - CORRECT ANSWER-AND both
conditions are true
OR One condition is true
NOT Reverses the condition
(T -> F), (F -> T)
How do you check for NULL Value? - CORRECT ANSWER-WHERE column IS
NULL.