SQL Flashcards
an organized collection of structured information, or data, typically stored electronically in a computer system
Databases
What does DBMS stand for?
database management system
Serves as an interface between the database and its end users or programs, allowing users to retrieve, update, and manage how the information is organized and optimized. Also facilitates oversight and control of databases, enabling a variety of administrative operations such as performance monitoring, tuning, backup, and recovery.
database management system
type of database that stores and provides access to data points that are related to one another. based on the relational model, an intuitive, straightforward way of representing data in tables. Stores data into relations (tables)
Relational Databases
What does SQL stand for?
Structured Query Language
a programming language used by nearly all relational databases to query, manipulate, define data, and to provide access control
SQL
translations on high level queries into low level expressions that can be used at physical level of file system, query optimization and actual execution of query to get the result.
Query Processing
core part of a DBMS that provides access to the data in a database managed by the DBMS.
DBMS Engine
What are the sublanguages of SQL?
DDL, DML, DCL, TCL
What is DDL?
Data Definition Language
What does DDL do?
Used for creating database tables, defining the database structure
what are the commands for DDL?
Create
Alter
Drop
what is DML?
Data Manipulation Language
What does DML do?
All operations on individual rows
what are the commands for DML?
Select
Insert
Update
Delete
what is DCL?
Data Control Language
What does DCL do?
For DB admin, allow users to have different permissions