You have solved this, but I would like to mention one point here.
The structure of Table is not correct. As you are having a
1:N Relationship
with
Doctor
and
Tablet
, so you should another Table to handle this. No need to have a comma spearated column.
So, your new Table would look like...
DOCTORNAME TABLETNAME
WILLIAM CALBOL
WILLIAM DOL
WILLIAM XXX
XXXXX LIVOGERN
XXXXX DOLOX
XXXXX XXX
It would be better, if you can store only the Ids, provided you have individual tables for them with an ID.
DOCTORID TABLETID
1 1
1 2
1 3
2 4
2 5
2 3