select t1.table_schema,t1.table_name from information_schema.tables t1 left outer join information_schema.TABLE_CONSTRAINTS t2   

on t1.table_schema = t2.TABLE_SCHEMA and t1.table_name = t2.TABLE_NAME and t2.CONSTRAINT_NAME in( 'PRIMARY')

where t2.table_name is null and t1.TABLE_SCHEMA not in ('information_schema','performance_schema','test','mysql')and
t1.table_schema not like '%0%' and t1.table_name like '%0%';

 

相关文章:

  • 2021-08-23
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2021-11-13
相关资源
相似解决方案