Complete query part