Applied data tables to queries page