operator

/

Divides numeric operands. PostgreSQL and SQLite truncate integer division toward zero; division by zero differs between engines. Example target: SQLite 3.46.1. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
left / right

Working Example

Example Snippetsql
SELECT 7 / 2, -7 / 2;
SQL Reference