ERROR: Query error occured.

SQL: SELECT COUNT(sid) AS count FROM t_artwork WHERE (delete_flg != 1 OR delete_flg IS NULL) AND (valid_flg = 1 OR valid_flg IS NULL) AND ( title ILIKE '%戸田勝%' OR tag ILIKE '%戸田勝%' OR description ILIKE '%戸田勝%' ) AND type = -