WHERE, operator precedence, IN and the NOT IN NULL trap, BETWEEN with dates, LIKE and ESCAPE, three-valued logic and <=>, DISTINCT, ORDER BY tricks, keyset pagination, GROUP BY with ONLY_FULL_GROUP_BY, HAVING, WITH ROLLUP, and the logical order in which SELECT is evaluated.
The four data statements in depth: multi-row INSERT, LAST_INSERT_ID(), INSERT ... SELECT, the three upsert options (INSERT IGNORE, ON DUPLICATE KEY UPDATE, REPLACE) and their side effects, safe UPDATE and DELETE, TRUNCATE, affected rows, duplicate cleanup and random rows.
CREATE TABLE in depth, cloning with LIKE and AS SELECT, inspecting structure, ALTER TABLE with online DDL, RENAME/TRUNCATE/DROP, temporary tables, AUTO_INCREMENT, storage engines, utf8mb4 collations, LOCK TABLES and table maintenance.
Integers, DECIMAL versus FLOAT, CHAR and VARCHAR under utf8mb4, TEXT and BLOB limits, ENUM and SET, the date and time types including the TIMESTAMP 2038 problem, and a column-by-column review of the blog schema.
The whole series on a few pages: a command cheat sheet grouped by task, a glossary of Git terms with the post that explains each one, how to get help from Git itself and from graphical tools, and what to learn after the basics.
Create, inspect, copy, back up and restore databases with mysqldump, then manage accounts, passwords, authentication plugins, GRANT/REVOKE, roles and least-privilege users for an application.
How forks work and how to keep one in sync with upstream, the triangular push and pull setup, GitHub and GitLab command-line tools, pull request refs, renaming the default branch, and the repository files hosting platforms read, such as CODEOWNERS and CI configuration.
What MySQL is, which version to run in 2024, how to install it with apt, Homebrew or Docker, and how to connect with the mysql client. Includes the sample blog schema used throughout the series.
How Git handles file moves and deletions: git mv and git rm, rename detection and its similarity threshold, case-only renames, executable bits, cleaning untracked files, re-applying .gitignore and purging a file from the whole history.
Customizing Git in depth: configuration levels, conditional includes and the settings worth changing, client- and server-side hooks that run on Git events, and .gitattributes for line endings, binary files, diff drivers and merge rules.
This browser does not support IE anymore, please use one of the browsers below!