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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:51:51+00:00 2026-06-13T20:51:51+00:00

I am creating a small playlist program on VB, which contains adduser, deleteuser and

  • 0

I am creating a small playlist program on VB, which contains adduser, deleteuser and also user can modify its playlist.

My stupid question is, how do I manage user playlist? Consider I am using database, where should I add user?

  1. As a new table in Database?
  2. As a new Entry in some kind of Table which contains userID, Name and its undefined number of choices?

If I select option 2, what kind of datatype handles a integer set of undefined size?

Thank you.

  • 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-13T20:51:53+00:00Added an answer on June 13, 2026 at 8:51 pm

    You would create 3 tables:

    Users table
    -----------
    userID
    email
    password
    name
    
    
    Playlist table
    --------------
    playlistID
    userID
    trackID
    
    
    Tracks table
    ------------
    trackID
    trackName
    

    You would then create relationship between the tables:

    Users.userID 1-* Playlist.userID (1 to many)

    Tracks.trackID 1-* Playlist.trackID (1 to many)

    Then you would store the users choices in the playlist table.

    To see a users tracks you could do:

    SELECT Playlist.trackID, Tracks.trackName
    FROM Playlist
    JOIN Tracks ON Playlist.trackID=Tracks.trackID
    WHERE Playlist.userID = 12
    ORDER BY Tracks.trackName
    

    This is the basics of relational database system and normalisation of data.

    For more information see:

    http://www.dreamincode.net/forums/topic/179103-relational-database-design-normalization/

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

Sidebar

Related Questions

I'm creating a small program which consists of a few source files on my
I'm creating a small page where users can modify the name of categories and
I am creating a small program over entityframework which allows to edit the POCOs
I'm creating a small app in which you can add or delete a table
I am creating small django application which holds some few questions (and answers for
I am creating a small application which will perform say 4 different, time consuming
I am creating a small utility which will help to rebuild install.php of WordPress.
I'm creating a small web page using jquery-ui-1.8 which is having a frameset and
When creating WPF user controls I often find myself creating small converter classes when
I'm currently creating a small C# program that inserts data from files into a

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.