Utilisateur:L.strappazon/test : Différence entre versions

Ligne 1 : Ligne 1 :
<div class="collapsible">Entre 1950 et 1960</div>
+
 
<div class="content">
 
 
{{#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(dateDebut, dateFin) > '3900' and SUM(dateDebut,dateFin) < '3920'
+
|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
 
}}
 
}}
</div>
 

Version du 6 décembre 2018 à 14:22

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

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)