Remove table_name in where condition