S
study2003
Unregistered / Unconfirmed
GUEST, unregistred user!
一。
singer 表 musicml表
bj name bj,fullname, singerbj
1. 刘德华 1,我的文档/刘德华
想把musicml表的singer设为singer表的bj
我用update
update musicml
set musicml.singerbj=singerbj.bj
where singer.name like '%musicml.fullname%'//请问like后面的该怎么写
二。
musicml 表
bj bfbj singerbj
1 1
2 1
3 1
我想把singerbj设为他的bj和bfbj一样的singerbj。就是上面2,3的singerbj和1的一样,
都为1。
UPDATE MusicMl
SET singerbj = singerbj
WHERE (bfbj = bj)//也不行的,请问该怎么写。
singer 表 musicml表
bj name bj,fullname, singerbj
1. 刘德华 1,我的文档/刘德华
想把musicml表的singer设为singer表的bj
我用update
update musicml
set musicml.singerbj=singerbj.bj
where singer.name like '%musicml.fullname%'//请问like后面的该怎么写
二。
musicml 表
bj bfbj singerbj
1 1
2 1
3 1
我想把singerbj设为他的bj和bfbj一样的singerbj。就是上面2,3的singerbj和1的一样,
都为1。
UPDATE MusicMl
SET singerbj = singerbj
WHERE (bfbj = bj)//也不行的,请问该怎么写。