原创 使用公用表表達式(CTE)簡化嵌套SQL

轉自 http://www.cnblogs.com/nokiaguy/archive/2009/02/05/1384860.htm     先看下面一個嵌套的查詢語句:select*from person