Added queries table