extrat mysql ( but group id ...)