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

  • Home
  • SEARCH
  • 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 7711749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:27:19+00:00 2026-06-01T01:27:19+00:00

I have a database with the following tables, Member, Paper, Topic, Interest, Associated. I

  • 0

I have a database with the following tables, Member, Paper, Topic, Interest, Associated.

I need a member to register than upload a paper. When they register they state their interests and this should appear on their home screen.

However in my tables interest i have member_id and topic_id, do i need a primary key for this table? As both of those are foreign keys. And with associated i have paper_id and topic_id but again i have no clue as to what the primary keys should be in those tables.

  • 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-01T01:27:20+00:00Added an answer on June 1, 2026 at 1:27 am

    In this case, it is a composite primary key

    You can check an example here -> http://sqlzoo.net/howto/source/z.dir/tip241027/i02create.xml

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

Sidebar

Related Questions

I have the following tables in my database: Products ID_PRODUCT PRODUCTNAME PRICE Customers ID_CUSTOMER
I have the following tables in a database (i'll only list the important attributes):
I have the following tables, with these keys in my database: bookings session_id sessions
I have the following (simplified) database tables: Products - ProductID, int, PK - Name,
I have two database tables with the following structure: actions: action_id int(11) primary key
I have the following two tables in my mysql database. Table Name: groups id
I have a database with two tables, tblPlayers and tblMatches. tblPlayers contains the following
I have three mysql table from same database Db1. Three tables have following columns.
I have the following database tables/EF objects public class Transaction { //some other properties
I have two tables in a database. One is for a member and one

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.