תבנית:שליפת טבלת משחקים שאלתא: הבדלים בין גרסאות בדף

מתוך ויקיפועל
קפיצה לניווט קפיצה לחיפוש
אין תקציר עריכה
מאין תקציר עריכה
שורה 21: שורה 21:
}}{{#cargo_query:
}}{{#cargo_query:
tables=Games
tables=Games
|fields=concat(Games.year,'-',Games.month,'-',Games.day)=תאריך,
|fields=Games.result=תוצאה
concat(Games.year,'-',Games.month,'-',Games.day)=תאריך,
concat('<div class=\'',Games.result,'cell\'>','[[',Games.ona,']]','</div>')=עונה,
concat('<div class=\'',Games.result,'cell\'>','[[',Games.ona,']]','</div>')=עונה,
concat('<div class=\'',Games.result,'cell\'>','[[',Games.mifal,']]','</div>')=מפעל,
concat('<div class=\'',Games.result,'cell\'>','[[',Games.mifal,']]','</div>')=מפעל,

גרסה מ־04:11, 16 באוקטובר 2022

מפעל מפגשים נצחונות תיקו הפסדים הפרש
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 '\xD7\xAA\xD7\x95\xD7\xA6\xD7\x90\xD7\x94\x0Aconcat(`cargo__Games`.`year`,'-',`ca' at line 1

Function: CargoSQLQuery::run Query: SELECT `cargo__Games`.`_pageID` AS `cargo_backlink_page_id_Games`,`cargo__Games`.`result`=תוצאה concat(`cargo__Games`.`year`,'-',`cargo__Games`.`month`,'-',`cargo__Games`.`day`)=תאריך AS `result=תוצאה concat(Games.year,'-',Games.month,'-',Games.day)=תאריך`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`ona`,'','</div>') AS `עונה`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`mifal`,'','</div>') AS `מפעל`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>',`cargo__Games`.`stage`,'</div>') AS `שלב`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`host`,'','</div>') AS `מארחת`,concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`oponent`,'','</div>') AS `אורחת`,IF(`cargo__Games`.`liga` = '1',concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`awayscore`,':',`cargo__Games`.`homescore`,'','</div>'),concat('<div class=\,`cargo__Games`.`result`,'cell\'>','',`cargo__Games`.`awayscore`,':',`cargo__Games`.`homescore`,'','</div>')) AS `תוצאה` FROM `cargo__Games` WHERE liga IS NOT NULL AND department='{{{מחלקה}}}' AND result='{{{תוצאה}}}' AND homegame='{{{ביתיות}}}' AND (`cargo__Games`.`host`= OR `cargo__Games`.`oponent`=) AND (year>'{{{משנה}}}' OR (year='{{{משנה}}}' AND month>'{{{מחודש}}}') OR (year='{{{משנה}}}' AND month='{{{מחודש}}}' AND day>='{{{מיום}}}')) AND (year<'{{{לשנה}}}' OR (year='{{{לשנה}}}' AND month<'{{{לחודש}}}') OR (year='{{{לשנה}}}' AND month='{{{לחודש}}}' AND day<='{{{ליום}}}')) AND mifal='{{{מפעל}}}' ORDER BY `תאריך` DESC LIMIT 100