Mathematics

How to Perform Calculus in SQL?

“What is mathematics? It is only a systematic effort of solving puzzles posed by nature”

Rahul Lalchandani
Towards AI
Published in
2 min readAug 3, 2021

--

On the rare occasion, you want to find the Area Under a Curve or mathematically speaking integrate a curve via SQL — I have a solution!

Problem:

Find out the distance traveled by car given its velocity and displacement in SQL.

Background Knowledge

--

--