SQL - Chapter 1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards

SQL (Structured Query Language)

The gold standard for communicating with Relational Database Management Systems

2
New cards

Dr. Edgar F. Codd

IBM researchers developed the concept of relational databases based on who?

3
New cards

Structured English Query Language

What does SEQUEL mean?

4
New cards

SEQUEL

IBM created a language for their experimental relational database system, System R.

5
New cards

American National Standard Institute, 1986

This group adopted SQL as a standard in year?

6
New cards

1987

SQL became the International Organization Standard in what year?

7
New cards

Execute queries and retrieve data
Insert, update, and delete records
Create new database

What can SQL do?:

8
New cards

PostgreSQL
MySQL
Microsoft SQL Server

Different variations of SQL:

9
New cards

SELECT
UPDATE
DELETE
INSERT
WHERE

To be compliant with ANSI/ISO standard, languages should have these major commands:

10
New cards

Relational Database Management System

Datas are stored in tables

11
New cards

Table name
Record
Columns
Primary Key
Foreign Key
Data types
Constraints

Parts of an SQL table

12
New cards

Table name

The unique name that identifies the table in a database

13
New cards

Record

Represents a single, complete set of related data within the table. Also referred to as a row

14
New cards

Columns

A vertical structure in a table that represents a specific attribute or field of the data

15
New cards

Primary Key

A column that uniquely identifies each row in a table

16
New cards

Foreign Key

A column that establishes a relationship with a primary key in another table

17
New cards

Data Types

Specifies the type of data that can be stored in each column

18
New cards

Constraints

Rules applied to columns to maintain data integrity

19
New cards

NOT NULL
UNIQUE
DEFAULT
CHECK

Common constraints:

20
New cards

NOT NULL

Column must have a value

21
New cards

UNIQUE

All values in the column must be unique

22
New cards

DEFAULT

Specifies a default value for the column

23
New cards

CHECK

Ensures values meet a specified condition