Fix SQL request PWG2.6