42S22
Funkcja
Database::query
Zapytanie
select distinct cYear from vPublikacje as p join tPublikacjeAutorzy as a on a.cPublikacjaID = p.cID join tPracownicy as s on s.cID = a.cPracownikID where cYear is not null and cTymczasowa = 'N' and cUkryta = 'N' and cUsunieta = 'N' and cAfiliacja in (1, 4) and p.cStatus != 'submitted' and (cJednostka = 29 or cJednostka in (select cPodjednostka from vPodjednostki where cJednostka = 29)) order by cYear desc
Komunikat
Unknown column 'cUkryta' in 'where clause'
Kod SQL
42S22
Kod
1054