Pregunta

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 ?

¿Fue útil?

Solución

You can do it with : WITH instruction .

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top