开发者

oracle alias in where clause [duplicate]

This question already has answers here: Using an Alias 开发者_Go百科in a WHERE clause (5 answers) Closed 7 months ago.

I am inside oracle procedure

I have a complex query with join which gives single value to which i assign alias

now can i pass alias in where clause in another query rather than making above query again as subquery?


Yes, provided its in scope (ie a subquery you're joining to in the FROM clause that the WHERE exists in).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜