code that I can run, or a plug in to show what sql tables something pulls information from

code that I can run, or a plug in to show what sql tables something pulls information from