Sql Overview Flashcards

1
Q

What is SQL?

A

Structured query language (SQL) is a programming language for storing and processing information in a relational database.

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

Why is SQL important?

A

SQL is frequently used in all types of applications, integrates well with different programming languages, and is easy to learn.

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

What was SQL originally known as?

A

Structured English Query Language (SEQUEL).

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

Who was the first vendor to offer a commercial SQL relational database management system?

A

Oracle, formerly known as Relational Software.

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

What is a SQL table?

A

The basic element of a relational database consisting of rows and columns.

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

What are SQL statements?

A

Valid instructions that relational database management systems understand.

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

What is a stored procedure?

A

A collection of one or more SQL statements stored in the relational database to improve efficiency and performance.

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

What is the role of the parser in SQL?

A

The parser tokenizes SQL statements, checks for correctness, and validates user authorization.

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

What does the relational engine do?

A

Creates a plan for retrieving, writing, or updating data efficiently.

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

What is a storage engine?

A

The software component that processes byte code and runs the intended SQL statement.

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

What are the categories of SQL commands?

A

Data Definition Language (DDL), Data Query Language (DQL), Data Manipulation Language (DML), Data Control Language (DCL), Transaction Control Language (TCL).

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

What does Data Definition Language (DDL) do?

A

Designs the database structure and creates or modifies database objects.

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

What is the purpose of Data Query Language (DQL)?

A

Retrieves data stored in relational databases.

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

What does Data Manipulation Language (DML) do?

A

Writes new information or modifies existing records in a relational database.

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

What is the function of Data Control Language (DCL)?

A

Manages or authorizes database access for other users.

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

What is Transaction Control Language (TCL)?

A

Automatically makes database changes, such as using ROLLBACK to undo transactions.

17
Q

What are SQL standards?

A

Formally defined guidelines of SQL adopted by ANSI and ISO in 1986.

18
Q

What is SQL injection?

A

A cyberattack that tricks the database with SQL queries to retrieve, modify, or corrupt data.

19
Q

What is MySQL?

A

An open-source relational database management system offered by Oracle.

20
Q

How does SQL differ from MySQL?

A

SQL is a standard language for database manipulation; MySQL is a relational database program that uses SQL.

21
Q

What does NoSQL refer to?

A

Non-relational databases that don’t use tables to store data.

22
Q

What is the difference between SQL and NoSQL?

A

SQL provides a uniform data manipulation language; NoSQL implementation varies by technology.

23
Q

What is SQL Server?

A

Microsoft’s relational database management system that manipulates data with SQL.

24
Q

How does AWS support SQL?

A

By allowing developers to run Microsoft SQL workloads on AWS with improved performance and integration with security services.