日期:2014-05-16  浏览次数:20712 次

ORACLE VPD 策略函数返回结果中如何给别名
策略函数返回结果如下:
exists (select * from pms_t_itemright where buyer_id = 'zhangsan' and item_id = t.item_id)
请问,如何给表(或试图)加别名 t ?
oracle vpd

------解决方案--------------------
什么意思没有看懂哦
------解决方案--------------------
这个不就直接加就可以了吗???select * from pms_v_item_filtered t where exists (select item_id from pms_t_itemright a where a.buyer_id = 'zhangsan' and a.item_id = t.item_id);