Lets say we have a web-application where support guys can go and check various information about the system. One such web-page allows user to execute select queries on certain database table. This apps works as one-place to find most of the details about the environment.
Database solution is always there and that's not required here.
I am looking for way to find out which tables a select statement is querying in Java. So is there a regular expression or any other way to find out tables.