SELECT * FROM `arch_water_english` where is_delete = 0 group by water_id having count(is_delete) > 1
SELECT reach,count(type) FROM `reachriverhead` where is_delete = 0 and type = 2 GROUP BY reach,type HAVING count(type) > 1
select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data from information_schema.TABLES where table_schema = 'jw_base' and table_name='arch_water'
SELECT * FROM `water_english` where is_delete = 0 group by water_id having count(is_delete) > 1
SELECT reach,count(type) FROM `reachriverhead` where is_delete = 0 and type = 2 GROUP BY reach,type HAVING count(type) > 1
select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data from information_schema.TABLES where table_schema = 'base' and table_name='water'