Guest User

Untitled

a guest
Nov 18th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. USE information_schema;
  2. SELECT *
  3. FROM
  4. KEY_COLUMN_USAGE
  5. WHERE
  6. REFERENCED_TABLE_NAME = 'X'
  7. AND REFERENCED_COLUMN_NAME = 'X_id';
Add Comment
Please, Sign In to add comment