I have 2 tables
tbl_patient
pid sample_id fullname test_ivd
1 AA01 John Vick test 1; test 2; test 3
and
tbl_test
tid sample_id name_test
1 AA01 test 1
2 AA01 test 2
3 AA01 test 3
When I add a new record (new patient) into tbl_patient, I stored one string separated by ; (list of test names) in test_ivd field. And in same time, I want to split the test_ivd by ; and add to the 3 new records in tbl_test. So please give me some suggestion.
Thank for any suggestion.