dingDanSql/共享订单常用.sql
2025-06-04 17:01:20 +08:00

13 lines
703 B
SQL

update testdb.tingchequ a set a. = SUBSTRING_INDEX(a.,'',1) WHERE IS NULL OR IS NULL
update testdb.tingchequ a set a. = '蟠龙枢纽站' WHERE IS NULL and IS null and = '--3'
insert ignore INTO testdb.tingchequ(ID, )
select c.ID,replace(c.,'null','') from
(select a.ID as ID,a. as FROM testdb.bike2025 a
UNION
select b.ID as ID,b. as FROM testdb.bike2025 b) c
SELECT * FROM testdb.tingchequ WHERE IS NULL OR IS NULL