Skip to content

Instantly share code, notes, and snippets.

@ques0942
Created May 17, 2018 11:20
Show Gist options
  • Save ques0942/95ec07e41e593e34267ff8f0dea3375c to your computer and use it in GitHub Desktop.
Save ques0942/95ec07e41e593e34267ff8f0dea3375c to your computer and use it in GitHub Desktop.
よく使うinformation_schemaのテーブルまとめ ref: https://qiita.com/ques0942/items/f98968de8968822ecf5c
select
*
from information_schema.referential_constraints rc
inner join information_schema.statistics s
on rc.constraint_name = s.index_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment