Division in SQL
Level 115 keystrokes
The slash (/) operator performs division in SQL.
SQL code
-- / divides the left number by the right one-- Returns 25 (some databases, such as MySQL, show the decimal 25.0000)1SELECT 100 / 4;Output
+---------+ | 100 / 4 | +---------+ | 25 | +---------+ 1 row in set
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this SQL code and how often they appear.
;× 1/× 1