The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
(SQL_QUERY) Update existing data
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
j2rhyme
Hi, I would like to know how to update an existing data in sql_query.
I made a Donation NPC with a Donor Ranking. I've somehow made it work but when I donate twice. I want to add my last donation and my current donation in the ranking. Instead of creating a new one.
And also, I would like to know how ORDER BY works. I want it ordered by ascending, but clearly I made some mistake because it did not work.
Here is my code:
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.