• My bad..the query actually contains a proper WHERE clause..i copied it wrong here