DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Numbers — Example 21

Quick explanation + ready code for: Numbers.

SQL Numbers Back to examples
Back to language
Syntax: Numbers in SQL. ID: #21

Code

SELECT 7 + 8 AS sum, 7 * 8 AS mul;

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.