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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:30:58+00:00 2026-05-10T22:30:58+00:00

I need to store of 100-200 data in mysql, the data which would be

  • 0

I need to store of 100-200 data in mysql, the data which would be separated by pipes..

any idea how to store it on mysql? should I use a single column or should I make many multiple columns? I don’t know exactly how many data users will input.

I made a form, it halted at the part where multiple data needs to be stored.

Anyone know how to store multiple data in single column or is there any alternative way?

please help me..

thank you very much

  • 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. 2026-05-10T22:30:59+00:00Added an answer on May 10, 2026 at 10:30 pm

    You should implement your table with an ID for the source of the data. This ID will be used to group all those pieces of similar data so you don’t need to know how many you have beforehand.

    Your table columns and data could be set up like this:

    sourceID        data --------        ----        1         100        1         200        1         300        2         100        3         100        3         200 

    When you query the database, you can just pull in all of the data with the same sourceID. With the data above, the following query would return two pieces of data.

    SELECT data FROM dataTable WHERE sourceID = 3 

    If you have multiple tables, you’ll need to associate them with each other using JOIN syntax. Say you have a main table with user data and you want to associate all of this input data with each user.

    userID    userName    otherData ------    --------    ---------      1         Bob          xyz      2         Jim          abc      3         Sue        lmnop 

    If you want to join data from this table (userTable) with data from the dataTable, use a query like this:

    SELECT userID, userName, data, otherData FROM userTable LEFT JOIN dataTable ON userTable.userID = dataTable.sourceID WHERE userTable.userID = 1 

    This query will give you all of the data for the user with an ID of 1. This assumes that the sourceID in your data table is using the userID from the user table to keep track of who the extra data belongs to.

    Note that this is not the only JOIN syntax in SQL. You can learn about other types of joins here.

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

Sidebar

Ask A Question

Stats

  • Questions 66k
  • Answers 66k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I'm not sure I've solved the real problem (Why the… May 11, 2026 at 11:29 am
  • added an answer It might be more simple to grant the privileges to… May 11, 2026 at 11:29 am
  • added an answer Combining DRb, which provides simple inter-process communication, with Queue or… May 11, 2026 at 11:29 am

Related Questions

I need to store of 100-200 data in mysql, the data which would be
I need to store a list of key value pairs of (integer, boolean) in
I need to store large amounts of metering data in a database. A record
I need to store Python structures made of lists / dictionaries, tuples into a
I have a large amount of data I need to store, and be able
I need a table to store the state of a financial transaction. The state
I need to crawl and store locally for future analysis the contents of a
I need to store products for an e-commerce solution in a database. Each product
I need to store phone numbers in a table. Please suggest which datatype should
I need to store app specific configuration in rails. But it has to be:

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.