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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:29:41+00:00 2026-05-26T06:29:41+00:00

How do you tell if a relation R is in BCNF and 3NF? I’m

  • 0

How do you tell if a relation R is in BCNF and 3NF?

I’m reading a textbook, and it’s telling me that there are 3 main attributes you’re looking at, but I’m having trouble understanding what they’re saying, or at least applying what they’re saying when given a relation and FD’s.

The 3 attributes:
Given a relation R with the attribute A, and X a subset of attributes of R, for every FD X⟶A in F, one of the following statements is true:

  • A ∈ X; that is, it is a trivial FD (∈ meaning “is found in X”)
  • X is a superkey
  • A is part of some key for R

The top two correspond to BCNF, and 3NF’s include the third.

  • 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-26T06:29:42+00:00Added an answer on May 26, 2026 at 6:29 am

    The book SQL Antipatterns by Bill Karwin has a nice example about BCNF and 3NF on page 303 that is a little complicated but I believe points out the difference more succinctly than any description of the difference I’ve read so far.

    For example, suppose we have three tag types: tags that describe the
    impact of the bug, tags for the subsystem the bug affects, and tags
    that describe the fix for the bug. We decide that each bug must have
    at most one tag of a specific type. Our candidate key could be bug_id plus
    tag, but it could also be bug_id plus tag_type. Either pair of
    columns would be specific enough to address every row individually.

    bug_id tag      tag_type
    ------------------------
    1234   crash    impact
    3456   printing subsystem
    3456   crash    impact
    5678   report   subsystem
    5678   crash    impact
    5678   data     fix
    

    The book then changes this single table (which satisfies 3NF) into two tables that satisfy BCNF:

    bug_id tag
    ----------
    1234   crash
    3456   printing
    3456   crash
    5678   report
    5678   crash
    5678   data
    
    tag       tag_type
    ------------------
    crash     impact
    printing  subsystem
    report    subsystem
    data      fix
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking into WCF specifically in relation to Silverlight. Can someone tell me
Please tell me there is a better solution to querying a remote Access database!
How should be implemented facultative one-to-one relation in Doctrine ORM and Symfony? Suppose there
In relation to can't debug hanging $.post in firefox extension can anyone tell me
Could anybody tell me what's wrong with this code below, because I'm having problems
probably it's super easy, but can someone tell me how I can call the
I know that if there is a users table and a posts table, the
Could anybody please tell me what's the relation between log4j and apache.commons.logging ? which
I have object with relation, and want save it, but I have only id
How can I specify the columns that are used for the foreign key relation

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.