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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:37:03+00:00 2026-05-23T19:37:03+00:00

When I look a Db schema or a diagram it is obvious to figure

  • 0

When I look a Db schema or a diagram it is obvious to figure out if there is a many-to-many relationship between two tables.

But how can I analyze this from the computer point of view? What kind of test algorithm the code should follow to decide there is a many-to-many relatiopnship between TableA and TableB?

I would appreciate if you can suggest a way without using any specific language based methods or helpers.

Something like:

“If ‘this’ is true, then there is absolutely a many-to-many
relationship between 2 tables.”

So what should I write at the place of ‘this’ ?

Thanks

  • 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-23T19:37:05+00:00Added an answer on May 23, 2026 at 7:37 pm

    There exists a table C not equal to A or B with foreign keys corresponding to primary keys in A and B.

    Just a guess. I think it’s true, though; it certainly happens when you want a m2m relationship… When it just happens to occur, I think you are OK reading a m2m relationship into it.

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

Sidebar

Related Questions

Let's say I have two tables, users and notes. Let's say the schemas look
I have a UML diagram of what I need my database schema to look
I have an XML schema that uses enumerations, but when I look at the
I was taking a look at Star Schema Benchmark and then I was thinking
I try to define a schema for XML documents I receive. The documents look
I have an XML Schema that mostly makes sense, but I encountered a bit
I have two tables: Toys and Games. +--------------------+------------------+ | Field | Type | +--------------------+------------------+
As far as I know, Biztalk can receive EDI from trading partner, look up
This is how the schema for the four models look: http://pastie.org/1576759 The plan table
I want to create a schema for a ACL; however, I'm torn between 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.