Can't perform query on database Error: Unknown column '17d' in 'where clause'