An SQL Query will be passed to my Method as a String, How can i retrieve the Column names in the query, if the query is e.g.
Select name, dob, age, gender from table1; or
Select uname AS name, hgt AS height, wgt AS weight from table1;
I want to get the Column names in an Array or List.