mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 10:25:52 +00:00
make mime details grouped
This commit is contained in:
parent
4486bdc215
commit
566d3b442e
@ -15,7 +15,7 @@ source hostPage : common
|
||||
SELECT `hostPage`.`hostPageId`, \
|
||||
`hostPage`.`uri`, \
|
||||
`host`.`name`, \
|
||||
REGEXP_REPLACE(`hostPage`.`mime`, '^[A-z-]+/([A-z-]+).*', '$1') AS `mime`, \
|
||||
REGEXP_REPLACE(`hostPage`.`mime`, '^([A-z-]+)/[A-z-]+.*', '$1') AS `mime`, \
|
||||
(SELECT SUM(`quantity`) FROM `hostPageToHostPage` \
|
||||
WHERE `hostPageToHostPage`.`hostPageIdTarget` = `hostPage`.`hostPageId` \
|
||||
AND (SELECT `hostPageSource`.`hostId` FROM `hostPage` AS `hostPageSource` \
|
||||
|
Loading…
x
Reference in New Issue
Block a user