add query detail result