Entering Numeric Values in MySQL


How To Include Numeric Values in SQL statements in MySQL?

✍: FYIcenter.com


If you want to include a numeric value in your SQL statement, you can enter it directly as shown in the following examples:

SELECT 255 FROM DUAL; -- An integer

SELECT -6.34 FROM DUAL; -- A regular number

SELECT -32032.6809e+10 FROM DUAL; -- A floating-point value


Introduction to SQL Basics in MySQL

⇒⇒MySQL Database Tutorials

2018-03-31, 649👍, 0💬