Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 209443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:54:57+00:00 2026-05-11T17:54:57+00:00

I have a name table with (id,first_name,middle_name,last_name,sex) and an email table with (id_fk,email_add) Infact

  • 0

I have a name table with (id,first_name,middle_name,last_name,sex)
and an email table with (id_fk,email_add)

Infact I will be having similar tables of the second kind, like a phone table (id_fk,phone_no), where id_fk is the foreign key referring to the id in the name table.

Is it required or rather is there a good reason to have a primary key in the second and third tables? Or other similar tables? Or would you suggest a different schema?

PS: The tables are for a contact storing app

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:54:57+00:00Added an answer on May 11, 2026 at 5:54 pm

    You are almost always better off using a primary key. Even if you think it’s not needed now as your database grows and gets more complicated you will quickly run into issues without one.

    Personally I’d also recommend using a data agnostic column for your primary key something such as a guid/uuid/serial. By using a field that does not contain usable data you will never be in a situation where you have to update the primary key which can be another messy operation once your database grows.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table User which has the fields (id, first_name, middle_name, last_name). I
I have a user table 'users' that has fields like: id first_name last_name ...
i have a table (tbl_world) which look like this id | first_name | last_name
I have two tables: author (id, first_name, last_name) books (id, title, rate, author_id) and
I have two tables: Users: ID, first_name, last_name Networks: user_id, friend_id, status I want
I have a customer table where I'm currently storing: Last Name First Name Middle
I have a table in MySQL of contact information ; first name , last
Let's say I have a table like this: name |order_id ======================= first_record | 0
I want to get data from two tables. I have patient first name and
I have a table called 1 Main Contacts (Main), and several other tables. They

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.