SQL : How to extract table names and column names from sql query?

Published --