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 8139033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:41:42+00:00 2026-06-06T11:41:42+00:00

I was thinking that I would have two tables for mysql. One for storing

  • 0

I was thinking that I would have two tables for mysql. One for storing login information and the other for shipping address. Is that the conventional way or is everything store in one table?

For two tables… is there a way where it automatically copies a column from table A to table B, so that I can reference the same id to grab their shipping address…

  • 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-06-06T11:41:44+00:00Added an answer on June 6, 2026 at 11:41 am

    If its a single address and if it is going to be updated everytime , then you can have it in a single table something like

    **Customer** 
    
    customer_id [pkey]
    customer_name
    login_id
    password
    shipping_address
    

    whereas if you want to store all the shipping addresses for a single customer(across multiple visits) then it would be a good design to have another table customer_shipping_address

    **Customer**
    
    customer_id [pkey]
    customer_name
    login_id
    password
    
    **Customer_Shipping_Address**
    
    customer_id [fkey to customer]
    shipping_address 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was thinking that at the top of my partial I would have something
I have two tables, one for values one for location and am trying to
What I have is a two tables. One table with users and another table
I have two tables. Widgets, which has information about each widget (Color, size, etc);
How would one structure a table for an entity that can have a one
I have two tables with a many-to-one relationship. (Oracle) **Table: PARENT** Field: A (PK)
I have three tables that I would like to query: Streams, Entries, and FieldInstances.
I have two tables in a derby database that I want to query together.
Just thinking about the best way to build an Order form that would (from
Am I correct in thinking that that Python doesn't have a direct equivalent for

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.