Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (2 active)
A
-
Aggregate functions
Functions that summarise many rows into one value: COUNT, SUM, AVG, MIN, MAX.
-
Alias (AS)A short temporary name for a table or column inside a query.
D
-
Database
An organised store of data that many programs can read and write safely at the same time.
-
Database dump and backup
Exporting a database to a file of SQL statements so it can be restored or moved.
-
Data types
Each column has a type that decides what it can hold: numbers, text, dates, true/false.
-
DELETE and TRUNCATEDELETE removes chosen rows; TRUNCATE empties a whole table at once.
E
-
Eloquent relationships
Methods on a model that describe how tables belong together: hasMany, belongsTo, belongsToMany.
F
-
Foreign key
A column that points to the primary key of another table and links the two.
G
-
GROUP BY and HAVINGGroups rows by a value and summarises each group; HAVING filters the groups.
I
-
Index
A lookup structure that lets the database find rows quickly without reading the whole table.
-
INSERTAdds new rows to a table.
J
-
JOINCombines rows from two tables that belong together, for example bookings with their villa.
M
-
MySQL and MariaDB
The most common database servers for websites; MariaDB is a community fork that works almost the same.
N
-
N+1 problem
Running one extra database query per row in a loop, which makes pages slow as data grows.
-
Normalisation
Storing each fact once and linking to it, instead of copying it into many rows.
-
NULLThe marker for "no value / unknown", which is different from 0 or an empty text.
O
-
ORDER BY and LIMITSort the result and take only the first rows; together they build pages of results.
-
ORM
Object-relational mapper: code that turns database rows into objects so you rarely write SQL by hand.
P
-
PostgreSQL
A powerful open-source database, popular for apps that need advanced features such as JSON queries or full-text search.
-
Prepared statement
A query with placeholders where the values are sent separately, so they can never be run as SQL.
-
Primary key
The column that uniquely identifies every row, usually an auto-increasing id.
Q
-
Query builder
Laravel's way to write SQL with PHP methods, safely bound and database-independent.
R
-
Race condition
A timing bug: two things happen almost at once, and the result depends on which finishes first.
S
-
SELECTReads data: which columns, from which table, which rows, in which order.
-
Soft deletes
Marking a row as deleted with a timestamp instead of removing it, so it can be restored.
-
SQL
The language for asking a database questions and changing its data.
-
SQL injection
An attack where text typed into a form is run as part of a database query.
-
SQLite
A complete database stored in a single file, with no server to run.
-
sqlite3 modulePython's built-in access to SQLite database files.
-
Subquery
A query inside another query, used as a value, a list or a temporary table.
T
-
Table, row, column
A table is like a spreadsheet sheet: columns define the fields, each row is one record.
-
Transaction
A group of changes that succeed together or are all undone together.
U
-
UNIQUE constraintA rule that no two rows may share the same value in a column, such as an email address.
-
UPDATEChanges values in existing rows.
-
utf8mb4 and collation
utf8mb4 is MySQL's real full Unicode (including emoji); collation decides how text is sorted and compared.
V
-
Vector database
A database built to store embeddings and quickly find the most similar ones.
-
View
A saved query that behaves like a read-only table.
W
-
WHEREFilters rows: only the ones matching the condition are read, changed or deleted.