永田町徒然草

検索

分類

これまでの記事

月別アーカイブ一覧

mySQL error with query SELECT itime, SUBSTRING(itime,1,4) AS Year, SUBSTRING(itime,6,2) AS Month, SUBSTRING(itime,9,2) as Day FROM trzrnucleus_item WHERE iblog=1 and itime <="2019-09-15 18:45:17" and idraft=0 and icat=7 GROUP BY Year, Month ORDER BY itime DESC: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tomilshi.trzrnucleus_item.itime' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by