Thanks for the clarifications about 2 tables and PKs.
userId in Table 1[registeredUser] is the PK, that would be the same in the userInfo table. I could have stored all the records in a table[ registredUser] but for my learning I want to have 2 tables.
Now the big Q is when the user is being registered through Registration and UserRegistration
servlet, how could I keep the PK FK relationship among both tables.
Column name, userId, is the same in both the Tables. userId in registredUser is PK; but I am not sure about its FK realtionship in userInfo
Hope to get some heads-up.