Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

LOL Query from centurion keywords

View gist:3696745
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
SELECT DISTINCT `mediacenter_media`.*
FROM `mediacenter_media`
WHERE ( `mediacenter_media`.`id` IN ((SELECT `mediacenter_media`.`id`
FROM `mediacenter_media`
INNER JOIN `media_file`
ON `media_file`.`id` =
`mediacenter_media`.`media_id`
LEFT JOIN `media_tag_file`
ON `media_tag_file`.`file_id` =
`media_file`.`id`
LEFT JOIN `media_tag`
ON media_tag_file.`tag_id` =
`media_tag`.`id`
LEFT JOIN `mediacenter_media` AS
`mediacenter_media_2`
ON
`mediacenter_media_2`.`media_id`
= `media_file`.`id`
LEFT JOIN `mediacenter_media` AS
`mediacenter_media_3`
ON
`mediacenter_media_3`.`media_id`
= `media_file`.`id`
LEFT JOIN `community_topic`
ON `community_topic`.`media_id` =
`media_file`.`id`
LEFT JOIN `news_news`
ON `news_news`.`cover_id` =
`media_file`.`id`
LEFT JOIN `bidule_company`
ON `bidule_company`.`logo_id` =
`media_file`.`id`
LEFT JOIN `bidule_game`
ON `bidule_game`.`logo_id` =
`media_file`.`id`
LEFT JOIN `bidule_rating`
ON `bidule_rating`.`image_id` =
`media_file`.`id`
LEFT JOIN `bidule_platform`
ON `bidule_platform`.`logo_id` =
`media_file`.`id`
LEFT JOIN `bidule_family`
ON `bidule_family`.`cover_id` =
`media_file`.`id`
LEFT JOIN `bidule_brand`
ON `bidule_brand`.`cover_id` =
`media_file`.`id`
LEFT JOIN `cms_flatpage`
ON `cms_flatpage`.`cover_id` =
`media_file`.`id`
LEFT JOIN `mediacenter_media` AS
`mediacenter_media_4`
ON
`mediacenter_media_4`.`media_id`
= `media_file`.`id`
LEFT JOIN `mediacenter_media` AS
`mediacenter_media_5`
ON
`mediacenter_media_5`.`media_id`
= `media_file`.`id`
WHERE ( `mediacenter_media`.`title` LIKE '%my%'
)
OR ( `media_file`.`name` LIKE '%my%' )
OR ( `media_file`.`filename` LIKE '%my%'
)
OR ( `media_tag`.`name` LIKE '%my%' )
OR ( `mediacenter_media_2`.`title` LIKE
'%my%' )
OR ( `mediacenter_media_3`.`slug` LIKE
'%my%' )
OR ( community_topic.`title` LIKE '%my%'
)
OR ( community_topic.`slug` LIKE '%my%'
)
OR ( news_news.`title` LIKE '%my%' )
OR ( news_news.`slug` LIKE '%my%' )
OR ( bidule_company.`name` LIKE '%my%' )
OR ( bidule_company.`slug` LIKE '%my%' )
OR ( bidule_game.`title` LIKE '%my%' )
OR ( bidule_game.`slug` LIKE '%my%' )
OR ( bidule_rating.`name` LIKE '%my%' )
OR ( bidule_rating.`slug` LIKE '%my%' )
OR ( bidule_platform.`name` LIKE '%my%' )
OR ( bidule_platform.`slug` LIKE '%my%' )
OR ( bidule_family.`name` LIKE '%my%' )
OR ( bidule_family.`slug` LIKE '%my%' )
OR ( bidule_brand.`name` LIKE '%my%' )
OR ( bidule_brand.`slug` LIKE '%my%' )
OR ( cms_flatpage.`title` LIKE '%my%' )
OR ( cms_flatpage.`slug` LIKE '%my%' )
OR (
`mediacenter_media`.`title` LIKE '%game%' )
OR ( `media_file`.`name` LIKE '%game%' )
OR (
`media_file`.`filename` LIKE '%game%'
)
OR ( `media_tag`.`name` LIKE '%game%' )
OR ( `mediacenter_media_4`.`title` LIKE
'%game%' )
OR ( `mediacenter_media_5`.`slug` LIKE
'%game%' )
OR (
community_topic.`title` LIKE '%game%'
)
OR (
community_topic.`slug` LIKE '%game%'
)
OR ( news_news.`title` LIKE '%game%' )
OR ( news_news.`slug` LIKE '%game%' )
OR ( bidule_company.`name` LIKE '%game%' )
OR ( bidule_company.`slug` LIKE '%game%' )
OR ( bidule_game.`title` LIKE '%game%' )
OR ( bidule_game.`slug` LIKE '%game%' )
OR ( bidule_rating.`name` LIKE '%game%' )
OR ( bidule_rating.`slug` LIKE '%game%' )
OR ( bidule_platform.`name` LIKE '%game%'
)
OR ( bidule_platform.`slug` LIKE '%game%'
)
OR ( bidule_family.`name` LIKE '%game%' )
OR ( bidule_family.`slug` LIKE '%game%' )
OR ( bidule_brand.`name` LIKE '%game%' )
OR ( bidule_brand.`slug` LIKE '%game%' )
OR ( cms_flatpage.`title` LIKE '%game%'
)
OR ( cms_flatpage.`slug` LIKE '%game%' )
)) )
AND ( `mediacenter_media`.`id` != '88888888' )
LIMIT 21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.