Member groups in staad pro sql query

Is there anyway to get the member group names into the mdb database generated along with SQL query. It would be much easier to analyze the results then.