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 nucleus_item WHERE iblog=1 and itime <="2024-04-27 07:10:19" and idraft=0 and icat=2 GROUP BY Year, Month ORDER BY itime DESC: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mohammad_cms.nucleus_item.itime' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
January 10, 2007: Joke | Depressed and drinking alone
A man in a bar sees a friend at a table, drinking by himself.
Approaching the friend he comments, "You look terrible. What's the problem?"
"My mother died in August," he said, "and left me $25,000."
"Gee, that's tough," he replied.
"Then in September," the friend continued, "My father died, leaving me $90,000."
"Wow. Two parents gone in two months. No wonder you're depressed."
"And last month my aunt died, and left me $15,000."
"Three close family members lost in three months? How sad."
"Then this month," continued, the friend, "absolutely nothing!"