Utilisateur:L.strappazon/test : Différence entre versions
Ligne 1 : | Ligne 1 : | ||
− | + | ||
− | |||
{{#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( | + | |where=SUM(duree,duree) > '1000' |
|group by=_pageName | |group by=_pageName | ||
|order by=dateDebut,dateFin,_pageName | |order by=dateDebut,dateFin,_pageName | ||
Ligne 12 : | Ligne 11 : | ||
|limit=1000 | |limit=1000 | ||
}} | }} | ||
− |
Version du 6 décembre 2018 à 14:22
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,duree) > '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 'duree) > '1000' GROUP BY `_pageName` ORDER BY `dateDebut`,`dateFin`,`_pageName`' at line 1 (bdd10.u-strasbg.fr)