Zandbak/Sub-zandbak3: verschil tussen versies
< Zandbak
Naar navigatie springen
Naar zoeken springen
Regel 2: | Regel 2: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=Books | tables=Books, Authors | ||
|join on=Books. | |join on=Books.Authors HOLDS Authors._pageName | ||
|fields=Books._pageName, Books.Authors, Authors._pageName, Authors.Country | |fields=Books._pageName, Books.Authors, Authors._pageName, Authors.Country | ||
|order by=Authors._pageName | |order by=Authors._pageName | ||
}} | }} |
Versie van 3 jul 2022 19:19
Database (Cargo) queries
Error 1054: Unknown column 'cargo__Books__Authors._value_pageName' in 'order clause'
Function: CargoSQLQuery::run Query: SELECT `cargo__Books`.`_pageID` AS `cargo_backlink_page_id_Books`,`cargo__Authors`.`_pageID` AS `cargo_backlink_page_id_Authors`,`cargo__Authors`.`_pageName` AS `_pageName`,`cargo__Books__Authors`.`_value` AS `Authors`,`cargo__Authors`.`Country` AS `Country` FROM `cargo__Books` LEFT OUTER JOIN `cargo__Books__Authors` ON ((`cargo__Books`.`_ID`=`cargo__Books__Authors`.`_rowID`)) RIGHT OUTER JOIN `cargo__Authors` ON ((`cargo__Books__Authors`.`_value`=`cargo__Authors`.`_pageName`)) ORDER BY `cargo__Books__Authors`.`_value_pageName` LIMIT 100