Common Table Expressions
CTEs are a powerful feature of modern RDBMSs which allow you to do some very creative things with set-based data. Some systems even allow you to nest them inside of themselves for even more crazy, creative solutions. Let’s discuss when to use a CTE.
Continue reading →
The word “common” from the acronym CTE (Common Table Expression) means you want to use a query more than once — because it’s common.