Hello Faxof,
You are correct, the code will not work if you do not have a primary key named "MyID". Without a primary key or some unique column in the table, it is rather difficult to remove duplicates with a query alone. As I suggested above, the easiest solution would be to add a...