add group_by snippets
add inject snippet
add max snippet