Query12 plan