🆕 Free Interactive Selenium, Playwright & API tools — no signup — Start Free Automation Roadmap →
📁
All Topics › SQL for Testers

SQL for Testers

SQL tutorials for testers: SELECT, joins, DDL and DML, subqueries, transactions and test data checks.

14 Articles
14 Beginner
5 Intermediate
5 Advanced
Beginner 📅 Oct 5, 2026 👁 24 views

SQL String Functions: CONCAT, SUBSTRING, REPLACE, TRIM and String Problems

SQL string functions with examples, plus common string problems: validating emails, extracting domains, cleaning phone numbers, parsing and formatting names.

Beginner 📅 Oct 5, 2026 👁 34 views

SQL NULL Handling: COALESCE, IFNULL, NULLIF, NOT IN Traps and COUNT(*)

How SQL handles NULL: IS NULL, COALESCE, IFNULL, NULLIF, numeric functions, and the traps behind wrong results: NOT IN with NULLs, COUNT(*) vs COUNT(col).

Beginner 📅 Oct 5, 2026 👁 32 views

SQL CASE WHEN, UNION vs UNION ALL and Pivot Queries

SQL CASE WHEN with examples (categories, conditional counts), UNION vs UNION ALL, and pivoting rows into columns with CASE inside aggregate functions.

Beginner 📅 Oct 4, 2026 👁 33 views

DDL Commands in SQL: CREATE, ALTER, DROP, TRUNCATE and RENAME (with Examples)

DDL commands in SQL with examples: CREATE, ALTER, DROP, TRUNCATE and RENAME, DDL vs DML vs DCL vs TCL, and why TRUNCATE can't be rolled back.

Beginner 📅 Jul 9, 2026 👁 158 views

Scenario-Based SQL Questions for Testers (With Sample Answers)

Real-world SQL scenarios for QA — verifying inserts, UI vs DB validation, user-wise bug counts, foreign key checks, and manual database testing, with answers.

Beginner 📅 Jul 9, 2026 👁 165 views

SQL Performance & Optimization: Query Tuning and Indexing

Learn SQL performance tuning — SQL query optimization, how indexing helps, analyzing slow queries with EXPLAIN, and database testing tools — for QA and SDET.

Beginner 📅 Jul 9, 2026 👁 83 views

Common SQL Queries for Testers (Bug Counts, Test Cases & More)

Practical SQL queries for QA — count bugs in the last 7 days, find users who didn't log in, fetch test cases by module, and count bugs per developer.

Beginner 📅 Jul 9, 2026 👁 111 views

Advanced SQL Concepts: Views, Indexes, Normalization, Procedures

Advanced SQL for testers: views vs tables, indexes, normalization (1NF–3NF), stored procedures, triggers and functions — with examples run on MariaDB.

Beginner 📅 Jul 9, 2026 👁 114 views

SQL INSERT, UPDATE, DELETE, Transactions & ACID Explained

Learn SQL data modification — INSERT, UPDATE, DELETE with WHERE, transactions, COMMIT and ROLLBACK, and ACID properties — with clear examples.

Beginner 📅 Jul 9, 2026 👁 105 views

SQL Subqueries Explained: Correlated, Nth-Highest Salary & More

Learn SQL subqueries — correlated vs non-correlated, finding the second/nth highest salary, above-average queries, and ORDER BY in subqueries.

Beginner 📅 Jul 9, 2026 👁 149 views

SQL Aggregate Functions & Grouping: COUNT, SUM, GROUP BY, HAVING

Learn SQL aggregate functions — COUNT, SUM, AVG, MIN, MAX — plus GROUP BY, HAVING, and WHERE vs HAVING, with clear examples for testers.

Beginner 📅 Jul 9, 2026 👁 119 views

SQL Joins Explained: INNER, LEFT, RIGHT, FULL (With Examples for Testers)

SQL joins with examples: INNER, LEFT, RIGHT and FULL JOIN, LEFT vs RIGHT JOIN, finding matching and missing records, and FULL JOIN in MySQL.

Beginner 📅 Jul 9, 2026 👁 103 views

SQL SELECT & Filtering: DISTINCT, LIKE, IN, BETWEEN & NULL

Learn to filter data in SQL — SELECT, DISTINCT, LIKE wildcards, IN, BETWEEN, IS NULL vs = NULL, and aliases — with clear examples for testers.

Beginner 📅 Jul 9, 2026 👁 101 views

Basic SQL Commands: DDL, DML, DCL & TCL with Examples (For Testers)

Basic SQL commands with examples: DDL, DML, DCL and TCL, DELETE vs TRUNCATE vs DROP, keys and constraints, plus the queries testers use most.