added table query