Untitled Deck Flashcards
(85 cards)
SQL
Structured Query Language
MySQL
A relational database management system created by MySQL AB.
RDBMS
Relational Database Management System, a program used to maintain a relational database.
Database
A collection of tables, with related data.
Table
A collection of related data entries, consisting of columns and rows.
Column
Holds specific information about every record in the table.
Record
Each individual entry that exists in a table.
VARCHAR
A variable‑length string (can contain letters, numbers, and special characters).
INT
A medium integer. Signed range is from -2147483648 to 2147483647. Unsigned range is from 0 to 4294967295.
DATE
A date. Format: YYYY-MM-DD. The supported range is from ‘1000-01-01’ to ‘9999-12-31’.
DQL
Data Query LanguageStatements that query the database but do not alter any data or database objects.
DML
Data Manipulation Language. Statements that modify data stored in database objects.
SQL SELECT Statement
Used to display all columns or specific columns from a table.
SQL WHERE Clause
Used to display columns with conditions.
SQL AND Operator
Displays a record if all the conditions separated by AND are TRUE.
SQL OR Operator
Displays a record if any of the conditions separated by OR is TRUE.
SQL NOT Operator
Displays a record if the condition(s) is NOT TRUE.
SQL ORDER BY keyword
Used to sort the result‑set in ascending or descending order.
SQL INSERT INTO Statement
Used to insert new records in a table.
MySQL UPDATE Statement
Used to modify the existing records in a table.
MySQL DELETE Statement
Used to delete existing records in a table.
Delete All Records
DELETE FROM table_name;
PHP
Hypertext Preprocessor, a widely‑used open‑source server‑side scripting language.
PHP script
Code block between <?php and ?> executed on the server to generate HTML.