show query on dupe insert/update