hi guys, can you give me some advice how to write the SQL to delete the duplicates? thanks for any suggestion.
something like this
id----myWords----chkbox1----chkbox2----chkbox3
1------apple----------x
2------orange----------------------------------x
3------apple----------x
4------orange----------------------------------x
5------apple----------x
6------banana---------------------x
7------orange----------------------------------x
8------banana---------------------x
9------apple----------x
then after deleting the duplicates, to look like this table
id----myWords----chkbox1----chkbox2----chkbox3
1------apple----------x
2------orange----------------------------------x
6------banana---------------------x
note: x, is a ticked checkbox
something like this
id----myWords----chkbox1----chkbox2----chkbox3
1------apple----------x
2------orange----------------------------------x
3------apple----------x
4------orange----------------------------------x
5------apple----------x
6------banana---------------------x
7------orange----------------------------------x
8------banana---------------------x
9------apple----------x
then after deleting the duplicates, to look like this table
id----myWords----chkbox1----chkbox2----chkbox3
1------apple----------x
2------orange----------------------------------x
6------banana---------------------x
note: x, is a ticked checkbox