code related to analyzing the sql query transferred to the sql analyzer