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
Help with SQL
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="Chefao" data-source="post: 440386" data-attributes="member: 75532"><p>Hello</p><p>my hotel contains many rare</p><p>and I wanted to leave all of them with <strong>allow_trade 0</strong> from <strong>another table (catalog_items)</strong></p><p></p><p>tables: <strong>furniture</strong> and <strong>catalog_items</strong></p><p></p><p>I want the allow_trade to stay 0 from catalog_items</p><p></p><p>I tried this:</p><p>SELECT item_id</p><p>FROM catalog_items</p><p>INNER JOIN furniture ON catalog_items.item_id = furniture.allow_trade</p><p></p><p>UPDATE db.furniture SET allow_trade = '0' WHERE catalog_items.item_id = 915</p><p></p><p></p><p></p><p>Can someone help me?</p></blockquote><p></p>
[QUOTE="Chefao, post: 440386, member: 75532"] Hello my hotel contains many rare and I wanted to leave all of them with [B]allow_trade 0[/B] from [B]another table (catalog_items)[/B] tables: [B]furniture[/B] and [B]catalog_items[/B] I want the allow_trade to stay 0 from catalog_items I tried this: SELECT item_id FROM catalog_items INNER JOIN furniture ON catalog_items.item_id = furniture.allow_trade UPDATE db.furniture SET allow_trade = '0' WHERE catalog_items.item_id = 915 Can someone help me? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help with SQL
Top