Sql

19 articles

mysql6 min read

MySQL Aggregate & Grouping Functions — Complete Guide 2026

Master MySQL aggregate functions (COUNT, SUM, AVG, MIN, MAX) and learn how GROUP BY and HAVING clauses transform raw data into actionable summaries. Ideal for students, developers, and data analysts working with relational databases.

Read →
mysql7 min read

MySQL Joins Explained — INNER, LEFT, RIGHT, CROSS & More (2026)

A complete guide to all MySQL join types — Equi Join, INNER JOIN, LEFT JOIN, RIGHT JOIN, CROSS JOIN, NATURAL JOIN, and UNION — with real examples, output tables, and performance tips. Essential for developers and SQL learners working with relational data.

Read →
mysql10 min read

MySQL Practice Questions — DDL, DML, Joins & Aggregates (2026)

A curated set of MySQL practice questions covering DDL (database and table commands), DML (INSERT, UPDATE, DELETE, SELECT), ALTER TABLE, aggregate functions, and joins. Ideal for students preparing for board exams, interviews, or SQL certifications.

Read →
mysql7 min read

MySQL Single-Row Functions — Numeric, String & Date Functions (2026)

A complete reference to MySQL single-row functions including numeric functions (POWER, ROUND, TRUNCATE), string functions (LENGTH, CONCAT, SUBSTR, INSTR, TRIM), and date functions (CURDATE, NOW, MONTH, YEAR, DAYNAME). Ideal for SQL learners and developers writing data transformation queries.

Read →
mysql6 min read

MySQL TCL Commands — COMMIT, ROLLBACK & SAVEPOINT Guide (2026)

Learn MySQL Transaction Control Language (TCL) commands — START TRANSACTION, COMMIT, ROLLBACK, SAVEPOINT, and SET AUTOCOMMIT — with real examples that demonstrate ACID properties and safe multi-step data operations. Essential for developers building reliable database-driven applications.

Read →
scaling9 min read

Accidental Full Table Scan — The Query That Brought Down Production

A query that runs in 3ms against 10,000 rows becomes a 42-second table-locking disaster against 50 million rows. One missing index, one function-wrapped column, or one implicit type cast silently disables PostgreSQL index usage. Here is how to find and fix these before they hit production.

Read →