© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
M. SimonLeveling Up with SQLhttps://doi.org/10.1007/978-1-4842-9685-1_4

4. Working with Calculated Data

Mark Simon1  
(1)
Ivanhoe VIC, VIC, Australia
 

No doubt, you will have seen calculations before now. SQL allows you to include calculated data in your queries.

In this chapter, we’ll look at some important ideas about the different types of data and how they can be calculated.

Don’t get too carried away with calculations in your SQL. The database is more concerned with maintaining and accessing raw data. However, it’s useful to be able to take your raw data and make it more useful to the task at hand.

DBMSs vary widely in their ability to perform calculations. ...

Get Leveling Up with SQL: Advanced Techniques for Transforming Data into Insights now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.