Difference between revisions of "User: Bgrenon"
Line 5: | Line 5: | ||
tables=RNElements,ComponentRN,Component | tables=RNElements,ComponentRN,Component | ||
|join on=RNElements.Version=ComponentRN.ReleaseNumber,ComponentRN.ComponentId HOLDS Component.Id | |join on=RNElements.Version=ComponentRN.ReleaseNumber,ComponentRN.ComponentId HOLDS Component.Id | ||
− | |fields=Component.Name,RNElements.IpName=Component,DATE_FORMAT(MAX( | + | |fields=Component.Name,RNElements.IpName=Component,DATE_FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y')=ReleaseDateFormat,MAX(PrivateEditionReleaseDate)=ReleaseDate,ComponentId,Version=ReleaseNumber |
|where=ComponentRN._pageNamespace="0" AND PrivateEditionReleaseDate IS NOT NULL AND Component.IpName IS NOT NULL | |where=ComponentRN._pageNamespace="0" AND PrivateEditionReleaseDate IS NOT NULL AND Component.IpName IS NOT NULL | ||
|format=template | |format=template |
Revision as of 09:45, April 7, 2022
Query: SELECT `cargo__Component`.`Name` AS `Name`,`cargo__RNElements`.`IpName` AS `Component`,DATE_FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y') AS `ReleaseDateFormat`,MAX(PrivateEditionReleaseDate) AS `ReleaseDate`,`ComponentId` AS `ComponentId`,`Version` AS `ReleaseNumber` FROM `cargo__RNElements` LEFT OUTER JOIN `cargo__ComponentRN` ON ((`cargo__RNElements`.`Version`=`cargo__ComponentRN`.`ReleaseNumber`)) LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE `cargo__ComponentRN`.`_pageNamespace`="0" AND PrivateEditionReleaseDate IS NOT NULL AND `cargo__Component`.`IpName` IS NOT NULL GROUP BY `cargo__Component`.`Name` ORDER BY `cargo__Component`.`Name`,`cargo__RNElements`.`IpName`,DATE_FORMAT(MAX(PrivateEditionReleaseDate),'%M %d, %Y'),MAX(PrivateEditionReleaseDate),`ComponentId` LIMIT 100 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 'HOLDS `cargo__Component`.`Id`)) WHERE `cargo__ComponentRN`.`_pageNamespace`="0' at line 1 (127.0.0.1)
No results
No results