中国开发网: 论坛: 程序员情感CBD: 贴子 123314
xiaolongren: postgresql数据库。
我的查询语句是这样的:
select a.weight_unit,tbl_workerformstore.product_allweight,tbl_workerformstore.storage_account
from tbl_workerformstore,(select tbl_headmaterial.weight_unit,tbl_workerform.abmfldid from
tbl_workerform,tbl_headmaterial where tbl_workerform.material_no=tbl_headmaterial.material_no)
as a where a.abmfldid=tbl_workerformstore.abmfldid;
我想使product_allweight=weight_unit*storage_account,用update没试出来。
吃点、喝点比啥都强!

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录