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,901Articles
1,141Solved Python problems
7Topics
100%Free

Latest articles

1,901 articles · page 35 of 159
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 →
SQL

Install MySQL 8.4 and Run Your First Query

Install MySQL 8.4 LTS on Windows, macOS, Linux or Docker, connect with the mysql client or Workbench, and load the sample database used in this SQL tutorial.

6 min readRead →
Python practice

Python SQLite Programs with Solutions

20 Python sqlite3 programs with solutions: create tables, insert, select, update, delete, joins, group by, transactions and CSV export, each explained.

2 min readRead →
Python practice

Query into pandas

Write a Python program to load a query result into a pandas DataFrame. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Why parameters prevent SQL injection

Write a Python program that shows how an f-string query is unsafe and a parameter is safe. Step-by-step explanation, colour-coded code and real output.

2 min readRead →
Python practice

Export a table to CSV

Write a Python program to export a table to a CSV file. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Top N rows

Write a Python program to get the top 3 scores. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Search with LIKE

Write a Python program to find products whose name contains a word. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Column names of a query

Write a Python program to print the column names of a query result. Step-by-step explanation, colour-coded code and real output.

1 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.