When debugging with idea, it is often necessary to check whether the sql in the log printed by the console can be executed correctly, but usually we can not directly execute the sql copy, we need to ...