求一个SQLite的多个字段update语句
假设
a 表
af1,af2,atype
b 表
bf1,bf2,btype
======================================
下面的语句可以执行
update a set af1=(select bf1 from b where btype=a.atype);
但是我想同时将af2也更新了怎么写?
[解决办法]
update a set af1=(select bf1 from b where btype=a.atype),
af2=(select bf2 from b where btype=a.atype)