大家好,建立了一个视图,代码如下:
CREATE VIEW "(Untitled)"
( "htbm",
"htmc",
"htje",
"qyr",
"lxdh",
"qyrq",
"gys",
"xmmc",
"fzbm",
"fzr" ) AS
SELECT "contract"."htbm",
"contract"."htmc",
"contract"."htje",
"contract"."qyr",
"contract"."lxdh",
"contract"."qyrq",
"contract"."gys",
"project"."xmmc",
"project"."fzbm",
"project"."fzr"
FROM "contract",
"project"
WHERE ( "contract"."gsxm" = "project"."xmbm" )
建好后,打开这个视图,没有显示任何数据.contract和project两个表中有数据.谢谢! |