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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:46:29+00:00 2026-06-05T22:46:29+00:00

yesterday I took a database exam and the question about normalization was strange. We

  • 0

yesterday I took a database exam and the question about normalization was strange.
We had table R(ABCDEFG) and functional dependencies G->B, C->DG, CF->E, F-A. Which are the candidate keys for R? I only found one: CF. Then R1(DFG), which are the candidate keys for R1? I only found one: DFG. State a correct 3NF normalization for R. I stated ((C,F), E), ((G, B)), ((F), A), ((C), D)

and then the functional dependency GDF->C was added. What is now a correct 3NF normalization of R? I said ((G, D, F, C)), ((G), B), ((F, ); A), ((C), D), ((C, F), E)

Did I solve it correct?

Then even more strange, we should state what is what when the following are listed:

  • Product ID
  • Order number
  • Customer ID
  • Quantity
  • Customer name
  • Product name
  • Date

I concluded

G= Product ID
C= Order number
F= Customer ID
D= Quantity
A= Customer name
B= Product name
E= Date

Is this correct? What does the FD GDF->C mean in plain English?

  • 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-05T22:46:30+00:00Added an answer on June 5, 2026 at 10:46 pm

    “Yesterday I took a database exam and the question about normalization
    was strange. We had table R(ABCDEFG) and functional dependencies G->B,
    C->DG, CF->E, F-A. Which are the candidate keys for R? I only found
    one: CF.

    That seems OK.

    Then R1(DFG), which are the candidate keys for R1? I only found one:
    DFG.

    With the very same set of FD’s ??? With no FD’s at all ??? Anyway, this one seems correct too.

    State a correct 3NF normalization for R. I stated ((C,F), E), ((G,
    B)), ((F), A), ((C), D)

    ((G), B) instead of ((G, B)) would be more like it.

    ((C), DG) instead of ((C), D) would be more like it too.

    and then the functional dependency GDF->C was added. What is now a
    correct 3NF normalization of R? I said ((G, D, F, C)), ((G), B), ((F,
    ); A), ((C), D), ((C, F), E)

    Addition of this FD (/constraint) doesn’t alter the 3NF form. All dependencies that are expressible in the 3NF design are still “out of complete keys”. The fact that this additional dependency could not be preserved by the decomposition, does not lower the normal form. It’s a dependency preservation issue, not a normal form issue.

    Did I solve it correct?

    Best option is to ask the teachers.

    “Then even more strange, we should state what is what when the
    following are listed:”

    The folly. The question itself forces you to make assumptions. Date. What date is that ? Date of birth of the customer placing the order ? Date when the ordered product was assigned its current name ? Or perhaps Date when the order was placed ? Presumably so, but the thing is, this should be clearly spelled out in the specs and database designers should really be taught NEVER TO ASSUME ANYTHING ABOUT THE SPECS. Assumption is the mother of all screwups.

    What does the FD GDF->C mean in plain English?

    In plain English, and assuming your answer, it means that once a certain combination of {customer id, product id and quantity} has been used in an order, there can no longer appear a second order (with a different order id) with the very same {customer id, product id and quantity}. Or, iow : each customer can order a certain specific quantity of a certain specific product only once.

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

Sidebar

Related Questions

I yesterday upgraded by MacPorts' apps which took apparently about 4 hours. It was
Yesterday, I started here asking a question about my own project, and when I
Yesterday I had a team leader of another team say that they took a
I had telephone interview question yesterday. The interviewer asked me if I had faced
This question follows on from a question I asked yesterday about why using the
I asked a similar question yesterday but I included some code that basically took
Yesterday I've posted question about SQLite performance issues ( Terrible performance in Zend Db
Yesterday I had an interview where the interviewer asked me about the storage classes
A friend asked me yesterday if this was possible on the iPhone. I took
yesterday i asked one question and got the answer from our friend here, and

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.