All pages
Powered by GitBook
1 of 1

Multiplication Operator (*)

Syntax

*

Description

Multiplication operator.

Examples

SELECT 7*6;
+-----+
| 7*6 |
+-----+
|  42 |
+-----+

SELECT 1234567890*9876543210;
+-----------------------+
| 1234567890*9876543210 |
+-----------------------+
|  -6253480962446024716 |
+-----------------------+

SELECT 18014398509481984*18014398509481984.0;
+---------------------------------------+
| 18014398509481984*18014398509481984.0 |
+---------------------------------------+
|   324518553658426726783156020576256.0 |
+---------------------------------------+

SELECT 18014398509481984*18014398509481984;
+-------------------------------------+
| 18014398509481984*18014398509481984 |
+-------------------------------------+
|                                   0 |
+-------------------------------------+

See Also

  • Type Conversion

  • Addition Operator (+)

  • Subtraction Operator (-)

  • Division Operator (/)

  • Operator Precedence

This page is licensed: GPLv2, originally from fill_help_tables.sql