General Concepts Flashcards
7 cards from real SQL practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 General Concepts flashcards as text
What does the acronym SQL stand for?
Answer: Structured Query Language
SQL stands for Structured Query Language, used to manage relational databases.
Which category does the SELECT statement belong to?
Answer: DML (Data Manipulation Language)
SELECT retrieves data and is part of DML, though some classify it as DQL.
What is a relational database primarily organized into?
Answer: Tables made of rows and columns
Relational databases store data in tables consisting of rows and columns.
Which clause is used to filter rows in a SELECT query?
Answer: WHERE
The WHERE clause filters rows based on a specified condition.
What does a primary key guarantee for a table?
Answer: Each row is uniquely identifiable
A primary key uniquely identifies each row and cannot contain NULLs.
Which SQL command is used to remove all rows but keep the table structure most efficiently?
Answer: TRUNCATE
TRUNCATE quickly removes all rows while preserving the table structure.
What is NULL in SQL?
Answer: The absence of a value
NULL represents a missing or unknown value, not zero or an empty string.