Jump to content

[SOLVED] Beginner to MySQL: Having an ID associated with a record


aximbigfan

Recommended Posts

Hi

 

This is really only the second time I have ever poked MySQL, so I am a n00b.

 

Now, I have a table like this:

+-------------+-------+
| IID              | iindex  |
+-------------+-------+
| 2rlkrp2m3pr   | 35      |
| erwewetwe   | 23      |
etc...

 

I want to be able to add 1 to the number next to IID (in iindex). How can I do this?

 

For example, I want to add 1 to the number across from "erwewetwe". What would the query be to do this?

 

 

 

Thanks,

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.