mySQL error with query SELECT DISTINCT i.inumber as itemid, i.iblog as blog, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed, m.memail as authormail, m.murl as authorurl, i.ititle as title FROM nucleus_item as i, nucleus_member as m, nucleus_category as c left join nucleus_plug_multiple_categories as p on p.item_id = i.inumber, nucleus_blog as b WHERE i.iauthor = m.mnumber and i.icat = c.catid and i.idraft = 0 and i.itime <= "2019-03-22 03:20:56" and i.icat in (mycategory) and i.iblog in (4, 27) ORDER BY i.itime DESC LIMIT 1: Unknown column 'mycategory' in 'where clause'

mySQL error with query SELECT DISTINCT i.inumber as itemid, i.iblog as blog, i.ibody as body, m.mname as author, m.mrealname as authorname, UNIX_TIMESTAMP(i.itime) as timestamp, i.itime, i.imore as more, m.mnumber as authorid, c.cname as category, i.icat as catid, i.iclosed as closed, m.memail as authormail, m.murl as authorurl, i.ititle as title FROM nucleus_item as i, nucleus_member as m, nucleus_category as c left join nucleus_plug_multiple_categories as p on p.item_id = i.inumber, nucleus_blog as b WHERE i.iauthor = m.mnumber and i.icat = c.catid and i.idraft = 0 and i.itime <= "2019-03-22 03:20:56" and i.icat in (mycategory) and i.iblog in (4, 27) ORDER BY i.itime DESC LIMIT 100: Unknown column 'mycategory' in 'where clause'