Add select action for sql parser.