過去の記事 -2024年03月の一覧
-
mySQL error with query SELECT DISTINCT(i.inumber) as itemid, i.ititle as title, 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, i.icat as catid, i.iclosed as closed, c.cname as category FROM nucleus_item as i, nucleus_member as m, nucleus_category as c, nucleus_blog as b LEFT JOIN nucleus_plug_multiple_categories as p ON i.inumber=p.item_id WHERE i.iauthor=m.mnumber and i.icat=c.catid and i.idraft=0 and i.iblog=4 and ((i.inumber=p.item_id and (p.categories REGEXP "(^|,)4(,|$)" or i.icat=4)) or (p.item_id IS NULL and i.icat=4)) and i.itime>="2024-03-01 00:00:00" and i.itime<"2024-04-01 00:00:00" and b.bnumber = c.cblog ORDER BY i.itime DESC LIMIT 0,200: Unknown column 'i.inumber' in 'on clause'