MY SQL Flashcards

1
Q

A database sublanguage used in querying,
updating, and managing relational
databases

A

Structured Query Language

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

Structured Query Language Derived from an IBM research group that
created __ ___ ___ __ in the 1970s

A

Structured English Query
Language (SEQUEL)

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

in 1986, the __ __ __ __ published an SQL standard.

A

American National Standards
Institute

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

What Can SQL do?

A

● SQL can execute queries against a
database
● SQL can retrieve data from a database
● SQL can insert records in a database
● SQL can update records in a database
● SQL can delete records from a database
● SQL can create new databases
● SQL can create new tables in a database
● SQL can create stored procedures in a
database
● SQL can create views in a database
● SQL can set permissions on tables,
procedures, and views

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

● Free
● Open-source
● Uses various proprietary licenses, including
GNU General Public License (GPL)

A

MySQL Workbench

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • As an RDBMS, ____ uses SQL to manage
    data inside a database
  • It organizes correlated data into one or
    more data tables, and this correlation
    helps structure the data
A

MySQL

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

Advantages of Using MySQL

A

● Open Source
● Data Security
● Scalability On Demand
● Higher Efficiency
● 24×7 Server Uptime
● Complete Transactional Support
● Comprehensive Workflow Control
● Lower Total Cost Of Ownership (TCO)

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

Three Major Components of SQL

A

Data Manipulation Language (DML)
Data Definition Language (DDL)
Data Control Language (DCL)

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

A module of the SQL language which
allows you to retrieve, update, add, or
delete data in a database

A

Data Manipulation Language (DML)

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

Enables you to create and modify the
database itself

A

Data Definition Language (DDL)

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

Maintains the proper security for the
database

A

● Data Control Language (DCL)

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

Creates a
table with specified columns

A

CREATE TABLE [table_name]

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

Creates a
new database

A

CREATE DATABASE [db_name]

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

Deletes a
database

A

DROP DATABASE [db_name]:

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

Modifies
existing tables (add/drop columns)

A

ALTER TABLE [table_name]:

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

Basic Data Retrieval

A

SELECT clause
FROM clause
WHERE clause

15
Q

Specifies the attributes to
be retrieved

A

SELECT clause:

16
Q

Lists the tables to scan

A

FROM clause

17
Q

Filters results based on
conditions

A

● WHERE clause