Learn the SQL IN operator with worked examples: filter by a list of text, numbers or dates, NOT IN, IN with a subquery, IN vs OR, the NOT IN NULL trap, and common errors with fixes.
Tag: SQL for Beginners
SQL Wildcards: %, _, [ ] and Escape Characters Explained
SQL wildcards explained with worked examples: % and _, SQL Server [ ] sets, NOT LIKE, escaping a literal % or _, database differences, performance and common mistakes.
SQL LIKE Operator: Pattern Matching with % and _ (Examples)
SQL LIKE operator tutorial: match text patterns with % and _ wildcards, NOT LIKE, case sensitivity by database, and worked examples with output.
SQL COUNT, AVG and SUM Functions: Aggregate Data (Examples)
SQL COUNT, AVG and SUM tutorial: count rows, total and average a column, COUNT(*) vs COUNT(column), how NULLs are ignored, and examples with output.
SQL MIN and MAX Functions: Find Smallest and Largest Values
SQL MIN and MAX tutorial: syntax, worked examples on numbers, dates and text, WHERE, GROUP BY, HAVING, CASE and window-function variations, NULL rules, common mistakes and a practice exercise.
SQL TOP, LIMIT and FETCH FIRST: Limit Rows Returned
Learn how SQL LIMIT, TOP and FETCH FIRST restrict the rows a query returns in MySQL, PostgreSQL, SQLite, SQL Server and Oracle, with top-N, pagination and top-N-per-group examples.
SQL DELETE Statement: Remove Rows from a Table (Examples)
Learn the SQL DELETE statement with before-and-after examples: delete by key, by condition, with a subquery or join, inside a transaction, plus DELETE vs TRUNCATE vs DROP.
SQL UPDATE Statement: Modify Existing Rows Safely (Examples)
Learn the SQL UPDATE statement: syntax, five worked examples (single row, several columns, calculations, subqueries and joins), database differences, common mistakes and a safe transaction routine.
SQL NULL Values: IS NULL, IS NOT NULL and COALESCE Explained
SQL NULL values tutorial: what NULL means, IS NULL and IS NOT NULL, why = NULL fails, how NULL behaves in arithmetic and aggregates, and COALESCE examples.
SQL INSERT INTO Statement: Add New Rows to a Table (Examples)
SQL INSERT INTO tutorial: add one row, several rows at once, insert into specific columns, copy rows with INSERT … SELECT, and common errors.









