I am reading a CSV file into my java program and it has an sql query in its every record. I want to parse this (Select)SQL query to find the table names and column names mentioned in those queries.
e.g. Select age,name from Employee
Result:
---- Tables: [Employee]
---- Columns: [age,name]
NOTE: I do not want to fire the queries else I would have used ResultSetMetaData