Błąd bazy danych

ERROR: column "termin" does not exist LINE 1: ...kategorie WHERE kategoria in (23,24,28,40,25) and termin = '... ^