문제

The title says all, I have a request like "Select [...]" and I want to do another request on the result of the first one. I didn't find anything relevant about that anywhere, and I found a solution where I create a temporary table where I put the result of my first request, then I request this table to get my final result, and I drop the table, but I absolutely want to avoid this super-heavy way. Any idea ?

도움이 되었습니까?

해결책

You can do it with : WITH instruction .

more doc here : http://www.brighthub.com/internet/web-development/articles/91893.aspx

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top