SQL - Chapter 1

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 22

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

23 Terms

1

SQL (Structured Query Language)

The gold standard for communicating with Relational Database Management Systems

New cards
2

Dr. Edgar F. Codd

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

New cards
3

Structured English Query Language

What does SEQUEL mean?

New cards
4

SEQUEL

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

New cards
5

American National Standard Institute, 1986

This group adopted SQL as a standard in year?

New cards
6

1987

SQL became the International Organization Standard in what year?

New cards
7

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

What can SQL do?:

New cards
8

PostgreSQL
MySQL
Microsoft SQL Server

Different variations of SQL:

New cards
9

SELECT
UPDATE
DELETE
INSERT
WHERE

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

New cards
10

Relational Database Management System

Datas are stored in tables

New cards
11

Table name
Record
Columns
Primary Key
Foreign Key
Data types
Constraints

Parts of an SQL table

New cards
12

Table name

The unique name that identifies the table in a database

New cards
13

Record

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

New cards
14

Columns

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

New cards
15

Primary Key

A column that uniquely identifies each row in a table

New cards
16

Foreign Key

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

New cards
17

Data Types

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

New cards
18

Constraints

Rules applied to columns to maintain data integrity

New cards
19

NOT NULL
UNIQUE
DEFAULT
CHECK

Common constraints:

New cards
20

NOT NULL

Column must have a value

New cards
21

UNIQUE

All values in the column must be unique

New cards
22

DEFAULT

Specifies a default value for the column

New cards
23

CHECK

Ensures values meet a specified condition

New cards
robot