摘要:
SELECT TABLE_NAME,DATA_LENGTH+INDEX_LENGTH,TABLE_ROWS FROM TABLES WHERE TABLE_SCHEMA='xx' AND TABLE_NAME='xxx' SELECTa.table_schema ,a.table_name ,con 阅读全文
摘要:
delete from xx where smokevehicleid not in ( select t.max_id from (select max(smokevehicleid) as max_id from xxx group by smokeno) as t ); delete from 阅读全文