Zandbak/Sub-zandbak3: verschil tussen versies

Uit Inf2019
Naar navigatie springen Naar zoeken springen
Regel 5: Regel 5:
|join on=Books.Authors HOLDS Authors._pageName  
|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=Books._pageName
|order by=Authors._pageName
}}
}}

Versie van 3 jul 2022 15:37

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