SQL Fundamentals Vocabulary

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Flashcards for SQL Fundamentals

Last updated 12:30 AM on 5/6/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

Query

A specific request for data manipulation issued by the end-user or the application to the DBMS.

2
New cards

SQL

Stands for Structured Query Language; consists of commands that create database and table structures, perform data manipulation, and query the database.

3
New cards

CREATE DATABASE

SQL command used to create a new database. Syntax: CREATE DATABASE database_name;

4
New cards

DROP DATABASE

SQL command used to delete an existing database. Syntax: DROP DATABASE database_name;

5
New cards

CREATE TABLE

SQL command used to create a new table in a database. Syntax: CREATE TABLE table_name (column1 datatype, …);

6
New cards

DROP TABLE

SQL command used to delete an existing table. Syntax: DROP TABLE table_name;

7
New cards

TRUNCATE TABLE

SQL command used to delete only the data within a table. Syntax: TRUNCATE TABLE table_name;

8
New cards

ALTER TABLE

SQL command used to add, delete, or modify columns in an existing table.

9
New cards

NOT NULL constraint

Ensures that a column cannot have a NULL value.

10
New cards

UNIQUE constraint

Ensures that all values in a column are different.

11
New cards

PRIMARY KEY constraint

Uniquely identifies each row in a table.

12
New cards

FOREIGN KEY constraint

Uniquely identifies a row in another table, establishing a link between two tables.

13
New cards

CHECK constraint

Ensures that all values in a column satisfy a specific condition.

14
New cards

DEFAULT constraint

Sets a default value for a column when no value is specified during insertion.

15
New cards

SQL Data Types

Categories include: Exact numeric, Approximate numeric, Date and time, Character strings, Unicode character strings, Binary strings, and other data types.

16
New cards

SQL Operators

Categories include: Arithmetic, Comparison, Compound, and Logical operators.