ÒòΪ²»Ïëÿ´Î¶¼create±í£¡ÍòÒ»¶àÈËÓõÄʱºò¾Í³ö´íÁË£¡ÁÙʱ±í£¿ ʹÓÃORACLEÈ«¾ÖÁÙʱ±í£¬Ò»´Î´´½¨£¬ÓÀ¾ÃʹÓᣠ²Î¿¼ http://www.ccctttv.cn/Promote.aspx?UID=ht8326 ÄãÊÇ´ÓÁ½¸ö±í»ñÈ¡Êý¾Ý,¾ÛºÏ²»°üÀ¨ËùÓеÄ×Ö¶Î.¹À¼ÆÖ»ÄÜÕâôдÁË. 2Â¥µÄÐÖµÜ˵ÏêϸµãÐÐÂð£¬Ð»Ð»À² create or repleace view a as select q.a,q.b,q.a*q.c as ac,0 as a1 from tableA q,tableB w where w.b=q.b and q.a>10
create or repleace view a as select q.a,q.b,q.a*q.c as ac,0 as a1 from tableA q,tableB w where w.b=q.b and q.a>10