zonas/image -> Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'antonio9_sitio.HtmMedia.Mid' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT HtmMedia.Mid, HtmMedia.titulo, HtmMedia.linkode FROM HtmMedia WHERE HtmMedia.Pag='417' AND HtmMedia.classf='pag' AND HtmMedia.tipo='image' GROUP BY HtmMedia.Pag LIMIT 0, 1

zonas/anos -> Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'antonio9_sitio.HtmLog.actual' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT HtmPage.seccao, YEAR(HtmLog.actual) FROM HtmTxt,HtmLog,HtmPage WHERE HtmPage.seccao='ideias' AND HtmTxt.Pag=HtmPage.Pag AND HtmLog.Pag=HtmPage.Pag AND HtmPage.stat IN ('pub','arq') AND YEAR(HtmLog.actual)!='2008' AND HtmTxt.lang=(SELECT lang FROM HtmTxt WHERE HtmTxt.Pag=HtmPage.Pag ORDER BY CASE WHEN HtmTxt.lang = 'pt' THEN 1 WHEN HtmTxt.lang = 'en' THEN 2 WHEN HtmTxt.lang = 'pt' THEN 3 ELSE 4 END ASC LIMIT 1) GROUP BY YEAR(HtmLog.actual) ORDER BY HtmLog.actual DESC
Notas sobre Graffiti [just forms]
Notas sobre Graffiti [just forms]

Compositor, Músico, Ensaísta, Investigador do CES, Professor na ESML

Notas sobre Graffiti [just forms]

20 de Junho 2008 11:07
Veja PDF:

© 2013 António Pinho Vargas. Reservados todos os direitos. All rights reserved.
Desenvolvido por Luis_Pinto @ Cowork, Design Carlos Pinto