Add query to floodmem.