The invention discloses an environment-friendly core drilling rig for drilling complex sand and pebble formations, which comprises a chassis with a crawler-type walking mechanism, an operating platform, a mast frame, a flip-type mast, a mast lifting cylinder, a shackle chuck, and a drilling rig power head , drill pipe, casing, hoist, diesel engine and manually operated valves, an environmental recovery system used in conjunction with drill pipe and casing, a double-drive hydraulic motor set on the drilling rig power head, a double-drive hydraulic pump set, and a split drive box. The invention realizes the adjustment of the output speed of the drilling rig through the double-drive hydraulic motor group and the double-drive hydraulic pump group, and can combine four speed modes in pairs, and the speed adjustment range is wider, which not only meets the low-speed impact rotary drilling It can also meet the needs of high-speed diamond rotary drilling. It has higher efficiency and stronger application functions. Moreover, by setting up an environmental protection recovery system to recover and treat the sundries generated by drilling, it can avoid polluting the surrounding environment and affecting the health of operators.