Hi,
I realize this may be an odd question, but here is my situation, i have two tables:
table1:
stateid, statename
table2:
CountyId, CountyName, stateId
I'm trying to have a structure like this:
Statename
--> CountyName
my challenge is how to relate the two table to get the parentId.
I think the answer is simple but for some reason I just can't get the sql right.
Regards,
Cal
I realize this may be an odd question, but here is my situation, i have two tables:
table1:
stateid, statename
table2:
CountyId, CountyName, stateId
I'm trying to have a structure like this:
Statename
--> CountyName
my challenge is how to relate the two table to get the parentId.
I think the answer is simple but for some reason I just can't get the sql right.
Regards,
Cal