groups_query function in sql_queries finished
groups_query function in sql_queries finished