O'Reilly logo

Tera-Tom's 1000 Page e-Book on Teradata Architecture and SQL, 2nd Edition by Tom Coffing, William Coffing

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 38 - Math Functions

“Measure a thousand times and cut once.”

-Turkish Proverb

What is the Order of Precedents?

Order of Precedents for Math

() Parentheses
** Exponentiation
* Multiplication
/ Division
+ Addition
- Subtraction

 

 

 

Mathematics can be used within your Syntax. But, like any math problems, it has an Order of Precedents.

What is the Answer to this Math Question?

images

 

 

 

 

This is an example of mathematics taking place with the Order of Precedents being respected.

What is the Answer to this Math Question?

images

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required