Radim Marek: Good CTE, bad CTE
CTEs are often the first feature developers reach for beyond basic SQL, and often the only one. But the popularity of CTEs usually has less to do with modernizing code and more to do with the promise of imperative logic. For many, CTE acts…



