SQL - Overview Flashcards

Midterms Reviewer

1
Q

Identification

is a database computer language designed for the retrieval and management of data in a relational database.

A

SQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Identification

SQL stands for

A

Structured Query Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Identification

is a computer language for storing, manipulating
and retrieving data stored in a relational database

A

SQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

History of SQL

is known as the father of relational databases. He described a relational model for databases.

A

Dr. Edgar F. “Ted” Codd (1970)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

History of SQL

Structured Query Language appeared in

A

1974

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

History of SQL

IBM worked to develop Codd’s ideas and released a product named System/R in

A

1978

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

History of SQL

IBM developed the first prototype of relational database and standardized by ANSI. The first relational database was released by Relational Software which later came to be known as Oracle.

A

1986

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Identification

The first relational database was released by_____ and later came to be known as _______.

A

Relational Software; Oracle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SQL Process

Components included in the process of executing SQL commands

A
  • Query Dispatcher
  • Optimization Engines
  • Classic Query Engine
  • SQL Query Engine, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SQL Process

This engine handles all the non-SQL queries

A

classic query engine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

SQL Process

This engine won’t handle logical files

A

SQL query engine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

SQL Process

SQL architecture

A

SQL query > Query Language processor > DBMS engine > Physical Database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

SQL Commands

The standard SQL commands to interact with relational databases are

A
  1. CREATE
  2. SELECT
  3. INSERT
  4. UPDATE
  5. DELETE
  6. DROP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

SQL Command Classification

CREATE, ALTER and DROP are classified into what group of SQL command?

A

DDL - Data Definition Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

SQL Command Classification

SELECT, INSERT, UPDATE, DELETE are classified into what group of SQL command?

A

DML - Data Manipulation Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

SQL Command Classification

GRANT, REVOKE are classified into what group of SQL command?

A

DCL - Data Control Language

17
Q

SQL Commands

Creates a new table, a view of a table, or other object in the database.

A

CREATE

DDL - Data Definition Language

18
Q

SQL Commands

Modifies an existing database object, such as a table.

A

ALTER

DDL - Data Definition Language

19
Q

SQL Commands

Deletes an entire table, a view of a table or other objects in the database.

A

DROP

DDL - Data Definition Language

20
Q

SQL Commands

Retrieves certain records from one or more tables.

A

SELECT

DML - Data Manipulation Language

21
Q

SQL Commands

Creates a record

A

INSERT

DML - Data Manipulation Language

22
Q

SQL Commands

Modifies records.

A

UPDATE

DML - Data Manipulation Language

23
Q

SQL Commands

Deletes records.

A

DELETE

DML - Data Manipulation Language

24
Q

SQL Commands

Gives a privilege to user.

A

GRANT

DCL - Data Control Language

25
Q

SQL Commands

Takes back privileges granted from user.

A

REVOKE

DCL - Data Control Language