错误提示: //B_*属于IMPORT表,S_*属于EXPORT表
Dynamic SQL Error
SQL error code = -104
Token unknown - line 3, char 41 //也就是COMPUTED BY之前有错。
COMPUTED
Statement: CREATE VIEW SELLING AS
SELECT B_ISBN,B_NAME,B_OWNER,B_PUBLISH,
B_PRICE,S_NUM,MONEY_ACCOUNT COMPUTED BY (B_PRICE*S_NUM).
FROM IMPORT,EXPORT
WHERE IMPORT.B_ISBN=EXPORT.S_ISBN;