- 博客(2)
- 收藏
- 关注
原创 连表update
计算sql select tb_h195z_ID,Round(tb_h195z_m408e * tb_h195z_c6u/(tb_h195z_s621k * tb_h195z_m408e/b.z),2) ,tb_h195z_q554ifrom tb_h195z aleft join (select sum(tb_h195z_m408e) as z,tb_h195z_num2 from tb_h195z group by tb_h195z_num2) as b on a.tb_h195z_n
2020-06-02 14:05:21
1408
原创 sql字段存储多字段需分割连表查询
1.原料表 记录批号 物料代码 等物料信息 if object_id('[tb_i259b]') is not null drop table tb_i259bgocreate table tb_i259b(tb_i259b_id int ,tb_i259b_r596j varchar(8000),tb_i259b_i231a varchar(8000),tb_i259b_c24u varchar(8000),tb_i259b_num varchar(8000) )insert tb_i259bs
2020-05-29 10:05:21
935
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人