Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Catalogue permissions?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Haid" data-source="post: 395564" data-attributes="member: 10450"><p>I think this should work but its 2am so!</p><p></p><p>[CODE]</p><p>SELECT *</p><p>FROM catalog_pages d1</p><p>WHERE (parent_id = "-1"</p><p> AND min_rank = 4)</p><p> OR (</p><p> (SELECT parent_id</p><p> FROM catalog_pages d2</p><p> WHERE d1.id = d2.id) IN</p><p> (SELECT id</p><p> FROM catalog_pages</p><p> WHERE min_rank = 4));</p><p>[/CODE]</p><p></p><p>Show me the results.</p></blockquote><p></p>
[QUOTE="Haid, post: 395564, member: 10450"] I think this should work but its 2am so! [CODE] SELECT * FROM catalog_pages d1 WHERE (parent_id = "-1" AND min_rank = 4) OR ( (SELECT parent_id FROM catalog_pages d2 WHERE d1.id = d2.id) IN (SELECT id FROM catalog_pages WHERE min_rank = 4)); [/CODE] Show me the results. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Catalogue permissions?
Top