Utilisateur:L.strappazon/test : Différence entre versions
Ligne 2 : | Ligne 2 : | ||
{{#cargo_query:table=Sequences | {{#cargo_query:table=Sequences | ||
|fields=apercu,_pageName,titre,realisateurs,fonds,dateDebut,dateFin,resumefr,resumeen,resumede,idSupport,timecode,duree,video,thematique | |fields=apercu,_pageName,titre,realisateurs,fonds,dateDebut,dateFin,resumefr,resumeen,resumede,idSupport,timecode,duree,video,thematique | ||
− | |where=SUM(duree, | + | |where=SUM(duree,timecode) > '1000' |
|group by=_pageName | |group by=_pageName | ||
|order by=dateDebut,dateFin,_pageName | |order by=dateDebut,dateFin,_pageName |
Version du 6 décembre 2018 à 14:23
Query: SELECT `apercu` AS `apercu`,`_pageName` AS `_pageName`,`titre` AS `titre`,`realisateurs__full` AS `realisateurs`,`fonds` AS `fonds`,`dateDebut` AS `dateDebut`,`dateFin` AS `dateFin`,`resumefr` AS `resumefr`,`resumeen` AS `resumeen`,`resumede` AS `resumede`,`idSupport` AS `idSupport`,`timecode` AS `timecode`,`duree` AS `duree`,`video` AS `video`,`thematique__full` AS `thematique`,`dateDebut__precision` AS `dateDebut__precision`,`dateFin__precision` AS `dateFin__precision` FROM `A_cargo__Sequences` WHERE SUM(duree,timecode) > '1000' GROUP BY `_pageName` ORDER BY `dateDebut`,`dateFin`,`_pageName` LIMIT 1000 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'timecode) > '1000' GROUP BY `_pageName` ORDER BY `dateDebut`,`dateFin`,`_pageNa' at line 1 (bdd10.u-strasbg.fr)