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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:21:16+00:00 2026-05-18T01:21:16+00:00

In SQL you can describe a binary relation with a table like Husband |

  • 0

In SQL you can describe a binary relation with a table like

Husband | Wife

We know that an husband can have only one wife, and viceversa, so that’s a 1:1 relationship, and you can specify costraints such that if you add an husband that is already in the table you get an error, right?

If you add a third column like this

Husband | Wife | Country

We know that in some country one husband can have many wives; now you cannot put easy costraints, you have to deal with the third column.

So from a binary relation we get a ternary relation with different behavior that depends on the third column.

This example is stupid and useless, do you know any other example?
(other example of ternary relationship such that one of the column changes the tuple behavior?)

Thank you.

EDIT:
Another point of view to see my problem:

You have any binary relationship, within a domain: do you know any binary relation that changes costraints (or behavior) as domain changes?

  • 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-18T01:21:17+00:00Added an answer on May 18, 2026 at 1:21 am

    Another example might be that you can apply coupons towards an order, but for certain coupon types you can only apply one per order whereas other coupon types may be combined.

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

Sidebar

Related Questions

In SQL one can write a query that searches for a name of a
SQL Server procedure can return result sets. I have a table emp(emp__id, emp__name, ...)
I have a SQL table AddressCount that has 3 fields: address , state ,
Is there a limitation in the length of a query that SQL Server can
Can PL/SQL procedure in Oracle know it's own name? Let me explain: CREATE OR
I need an SQL statement that check if one condition is satisfied: SELECT *
I'm about to start developing a web-based application that I can best describe as
My businesses application supports only reporting with selected data from SQL server.In one business
I have a NVARCHAR(max) column in a table and a stored procedure that would
What SQL can be used to list the tables, and the rows within those

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.