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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:42:26+00:00 2026-05-27T13:42:26+00:00

Example: a database containing the names and properties of different metals (density, colour, melting

  • 0

Example: a database containing the names and properties of different metals (density, colour, melting point etc.) where I might have found the value for the density from one source (website, book, …) and the melting point from another and I want to make it retrievable from which source any given value came.

The simple solution is to create a column ‘Density’ and a column ‘Density Source’ and so on for all properties but this seems like a very verbose way of solving this. Yes, ‘Density Source’ could be a simple integer with another table spelling out the source.

In a sense, I am looking to add something like a footnote to a field.

  • 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-27T13:42:27+00:00Added an answer on May 27, 2026 at 1:42 pm

    The tough answer is that you’re not going to get anywhere with anything less verbose than have a source table and then having a link back to each source for each bit of information.

    What you can do is create the matrix of possible sources for your density, color, melting point, etc. and then assign a universal “SourceKey” for that, so that you would only have to store one source on the actual property table. Then, to get the density source, you’d do this:

    select
        s.SourceName as DensitySource,
        m.*
    from
        metals m
        inner join SourceMatrix sm on
            m.SourceKey = sm.SourceKey
        inner join Source s on
            sm.DensitySourceKey = s.SourceKey
    

    That completely depends on how many combinations you can have and whether or not that’s efficient at all, though. The database stores relations, but it doesn’t store lineage.

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

Sidebar

Related Questions

I have an example database, it contains tables for Movies, People and Credits. The
I have a big doubt. Let's take as example a database for a whatever
In my database I have tables that define types for example Table: Publication Types
Does anybody have an example of working with database using Visual C++ and OLEDB?
I have a MySQL database with words containing accents in Spanish (áéíóú). I'd like
I have a website that has product names containing French and English words. When
I have a database containing a lot of tables, most of which have a
I have a pre-existing mysql database containing around 50 tables. Rather than hand code
I have a database that can have different types of relatinships based upon what
I have a MySQL database containing a user's country and whether they are an

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.