Hi, I know this sounds easy from the topic but what I'm wondering is how to delete just one record even if the criteria matches more than once.
For example say you have the table member_items:
uid | iid
1 | 2
1 | 2
Where uid is the members uid and iid is the items id. I want to be able to do "DELETE FROM member_items WHERE uid='1' and iid='2'" but I only want to delete one of them.
Please tell me if this is possible if not I'll have to add an id field which will add alot of extra work.
I'd be greatful for your help. Thanks
For example say you have the table member_items:
uid | iid
1 | 2
1 | 2
Where uid is the members uid and iid is the items id. I want to be able to do "DELETE FROM member_items WHERE uid='1' and iid='2'" but I only want to delete one of them.
Please tell me if this is possible if not I'll have to add an id field which will add alot of extra work.
I'd be greatful for your help. Thanks