SQA Tools Blog

Learn testing and automation, one article at a time

Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.

1,677Articles
1,141Solved Python problems
7Topics
100%Free

Latest articles

1,677 articles · page 15 of 140
SQL

SQL Aliases (AS)

Rename columns and tables in SQL with aliases (AS): readable headers, short table names in joins, aliases with spaces, and where an alias can be used.

6 min readRead →
SQL

SQL NULL Values

Understand NULL in SQL: IS NULL and IS NOT NULL, why = NULL never matches, NULL in arithmetic, COUNT and sorting, and the NULL-safe operator.

7 min readRead →
SQL

SQL LIKE Operator and Wildcards

BeginnerLesson 14 of 699 min read8 queries run on MySQL 8.4= only finds exact matches. LIKE finds patterns: names that start with "A", emails at a…

7 min readRead →
SQL

SQL IN and BETWEEN Operators

Filter SQL rows with IN and BETWEEN: lists of values, number and date ranges, NOT IN, NOT BETWEEN, the inclusive ends of BETWEEN and the NOT IN NULL…

7 min readRead →
SQL

SQL LIMIT and Pagination

Use SQL LIMIT and OFFSET to return the top N rows, paginate results and find the Nth highest salary, with MySQL examples and the pitfalls of large offsets.

6 min readRead →
SQL

SQL ORDER BY

Sort SQL results with ORDER BY: ascending and descending, multiple columns, expressions and aliases, NULL ordering and custom sort orders, in MySQL.

8 min readRead →
SQL

SQL AND, OR and NOT Operators

Combine conditions in SQL with AND, OR and NOT. Learn operator precedence, why parentheses matter, and how NULL behaves in logic, with real MySQL results.

7 min readRead →
SQL

SQL WHERE Clause

Learn the SQL WHERE clause step by step: filter rows with =, , >, =, <=, text and date conditions, and avoid common mistakes, with real MySQL output.

7 min readRead →
SQL

SQL SELECT DISTINCT

Learn SQL SELECT DISTINCT with examples: unique values from one column, distinct combinations of columns, COUNT(DISTINCT) and how DISTINCT treats NULL.

6 min readRead →
SQL

The SQL Sample Database

The free company sample database used in this SQL tutorial: employees, departments, customers, products and orders. See every table and copy the MySQL script.

10 min readRead →
SQL

SQL Data Types

MySQL data types with examples: INT, DECIMAL vs FLOAT, CHAR vs VARCHAR, TEXT, ENUM, DATE, DATETIME, TIMESTAMP, BOOLEAN and JSON, and how to choose.

7 min readRead →
SQL

SQL Syntax and Comments

Learn SQL syntax rules: statements, keywords, semicolons, case sensitivity, quotes, identifiers and comments, with MySQL examples you can run.

7 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.