You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sql-tools/Import/美爵士/SQLQuery14.sql

31 lines
989 B

1 year ago
SELECT * FROM TMemberCard WHERE FCompId = 4758348102062400779
SELECT * FROM TConsumeBill WHERE FCardId IN(SELECT FCardId FROM TMemberCard WHERE FCompId != 4758348102062400779)
AND FCompId = 4758348102062400779
SELECT * FROM TMember WHERE FMemNo = '34214'
UPDATE TMember Set FState = 4 ,FMemo = '[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD>,<EFBFBD>Ѿ<EFBFBD>ͣ<EFBFBD><EFBFBD>]'
WHERE FName LIke '%<EFBFBD><EFBFBD><EFBFBD><EFBFBD>%'
UPDATE TCompany SET FNo = FNo + '[ͣ<EFBFBD><EFBFBD>]' WHERE FNo = '006'
SELECT * FROM TMemberCard WHERE FCompId = 4758348102062400779
UPDATE TMemberCard SET FState = 4,FMemo = '[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD>,<EFBFBD>Ѿ<EFBFBD>ͣ<EFBFBD><EFBFBD>]' +FMemo + '' WHERE FMemId IN(SELECT FMemID FROM TMember WHERE FName LIke '%<EFBFBD><EFBFBD><EFBFBD><EFBFBD>%')
AND FState = 4
SELECT * FROM TMember WHERE FName LIke '%<EFBFBD><EFBFBD><EFBFBD><EFBFBD>%'
AND FState = 4
SELECT * FROM TCompany WHERE FId = 4758348102062400779
SELECT * FROM TCompany
select count(1) from TMember
WHERE FMemId IN(SELECT FMemId FROM TMemberCourse WHERE FCompId = 4758348102062400779)
OR FMemId IN(SELECT FMemId FROM TMemberCard WHERE FCompId = 4758348102062400779)