MY SQL Flashcards
A database sublanguage used in querying,
updating, and managing relational
databases
Structured Query Language
Structured Query Language Derived from an IBM research group that
created __ ___ ___ __ in the 1970s
Structured English Query
Language (SEQUEL)
in 1986, the __ __ __ __ published an SQL standard.
American National Standards
Institute
What Can SQL do?
● 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
● Free
● Open-source
● Uses various proprietary licenses, including
GNU General Public License (GPL)
MySQL Workbench
- 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
MySQL
Advantages of Using MySQL
● 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)
Three Major Components of SQL
Data Manipulation Language (DML)
Data Definition Language (DDL)
Data Control Language (DCL)
A module of the SQL language which
allows you to retrieve, update, add, or
delete data in a database
Data Manipulation Language (DML)
Enables you to create and modify the
database itself
Data Definition Language (DDL)
Maintains the proper security for the
database
● Data Control Language (DCL)
Creates a
table with specified columns
CREATE TABLE [table_name]
Creates a
new database
CREATE DATABASE [db_name]
Deletes a
database
DROP DATABASE [db_name]:
Modifies
existing tables (add/drop columns)
ALTER TABLE [table_name]: