Skip to content
This repository was archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
Add ANY_VALUE Function to Use Group By Statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Indianer3c committed Jul 6, 2021
1 parent 54be7b0 commit a273651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions google_sitemap_xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ function getProducts($limit)
}

$sql = "SELECT
oxart.oxtimestamp,
ANY_VALUE(oxart.oxtimestamp) AS oxtimestamp,
ANY_VALUE(seo.oxseourl) AS oxseourl
FROM
oxarticles as oxart
Expand Down Expand Up @@ -480,7 +480,7 @@ function getProductsManufacturer()
$list = array();

$sql = "SELECT
oxart.oxtimestamp,
ANY_VALUE(oxart.oxtimestamp) AS oxtimestamp,
ANY_VALUE(seo.oxseourl) AS oxseourl,
FROM
oxarticles as oxart
Expand Down Expand Up @@ -571,7 +571,7 @@ function getCountScriptCalls()
{
global $mod_cnf, $sqlConnect;
$sql = "SELECT
oxart.oxid
ANY_VALUE(oxart.oxid) AS oxid
FROM
oxarticles as oxart
LEFT JOIN oxobject2category as oxobj2cat
Expand Down

0 comments on commit a273651

Please sign in to comment.