Treat statements starting with WITH as SELECT.