Cte

Tag: cte

Filling in Data Potholes Redux: Tally Tables vs CTEs

Filling in Data Potholes Redux: Tally Tables vs CTEs

on January 4, 2011

In A Previous Installment… our heroine (that’s me) rediscovered CTEs, specifically in the recursive style. That was in my post “Filling in Data Potholes with Recursive CTEs.”

Continue reading

Filling in Data Potholes with Recursive CTEs

Filling in Data Potholes with Recursive CTEs

on December 23, 2010

Tags: cte

Imagine that you are writing a script that looks at data grouped by the minute. You notice that there are no rows for some minutes, and you’d like to display a value when that is the case, probably showing a count of zero.

Continue reading