Basic SQL

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

1/17

flashcard set

Earn XP

Description and Tags

Flashcards covering the key concepts, definitions, and terminology related to Basic SQL.

18 Terms

1
New cards

SQL (Structured Query Language)

A programming language used for managing and manipulating relational databases.

2
New cards

DDL (Data Definition Language)

SQL commands used to define and manage all constructs in a database.

3
New cards

DML (Data Manipulation Language)

SQL commands used for managing data within schema objects.

4
New cards

VIEW

A virtual table in SQL created using the CREATE VIEW statement that provides a way to present data.

5
New cards

PRIMARY KEY

A constraint that uniquely identifies each record in a table.

6
New cards

FOREIGN KEY

A field (or collection of fields) in one table that uniquely identifies a row of another table.

7
New cards

VARCHAR

A variable-length string data type used in SQL to store text.

8
New cards

CHAR

A fixed-length string data type used in SQL.

9
New cards

DEFAULT Clause

Specifies a default value for the attribute if no value is specified during record insertion.

10
New cards

CHECK Constraint

A rule that specifies the conditions under which a database can accept data values.

11
New cards

JOIN Condition

A condition that combines rows from two or more tables based on related columns.

12
New cards

UNIQUE Constraint

A constraint that ensures all values in a column are different from one another.

13
New cards

DISTINCT Keyword

A keyword used in SQL queries to return unique values in the result set.

14
New cards

ORDER BY Clause

A clause used in SQL to specify the order of the result set.

15
New cards

INSERT Command

An SQL command used to add new records (tuples) to a table.

16
New cards

DELETE Command

An SQL command used to remove records from a table.

17
New cards

UPDATE Command

An SQL command used to modify existing records in a table.

18
New cards

TUPLE

A single row of data in a table, which contains data for each column.