I am using mysql databse,with two tables serviceTypeDetails,validateConfig.
serviceTypeDetails validateConfig
---------------------- ------------------
servicetypeid(pk) servicetypeid(fk)
servicetypename fieldname
modeType
----------------------------------------------------
In serviceTypeDetails,it’s having four types of services and another table validateconfig contain 31 row with respect to each servicetypeid.this schema is correct.if not then what modification it required?
Thanks
Yes, you’re using the schema right. This models a one-to-many relationship between serviceTypeDetails and validateConfig, so there can be more validateConfig records attached to each serviceTypeDetails record.