you dont need some query to delete it, if you change your iteminfo and deleted that item id from the iteminfo, just make some random item with that id, just copy i dont know, the row from the item id 1 and paste it on the id 2577, then u can log in and delete it without problem