CONTACT US: 778-373-4422 | info@mackenziemackenzie.com


Photo by McMurry from Pixabay

How to use Recursive SQL - A Simple Example

05-December-2020
In this episode, learn how to use recursive SQL to simplify your programming. Recursive queries allow a query to query itself until a result set has been established. This can remove the need for loops or iterative processes that can needlessly complicate your SQL. You can describe a problem with a single statement that depends on solutions to smaller instances of the same problem. Recursion is a great method to add to your SQL toolkit! In our simple examples, we’ll calculate a list of years in a CTE, so that we can use that series in other queries.



ETL Project? Contact me today!

3 Reasons Why You Should Learn Data Techniques

Find 3 big reasons why you should learn data techniques if you are a professional or business person.

Read article

About our workshop

The Professional Problem, 3 Things They Need, and 1 They Don't Have

Why do people constantly run into problems with their data, even when they are highly trained in their area?

Read article

About our workshop

Why Finding Uniqueness is the Key: 6 Methods to Help

Find out why keys and uniqueness are so important for data transformation and data analysis.

Read article

About our workshop

When to Excel and When Not To: Why Specialists Don't Use Excel for Data Transformations

Start your journey in data transformation, and learn why specialists don't use Excel to transform raw data for analysis.

Read article

About our workshop