I do not understand Boyce-Codd Normal Form. I looked at my textbook but I do not understand it. Let's say relation R = (A,B,C,D,E) and F={A->C, D->CB, AC->E}. How do you determine if R is in BCNF? Need help. Thanks!
Boyce-Codd Normal Form
1.3k Views Asked by SaurabJ21 At
2
There are 2 best solutions below
Related Questions in DATABASE
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- How to not load all database records in my TListbox in Firemonkey Delphi XE8
- microsoft odbc driver manager data source name not found and no default driver specified
- Cloud Connection with Java Window application
- Automatic background scan if user edit column?
- Jmeter JDBC Connection Configuration Parametrization of Database URL for accessing SQL Database
- How to grant privileges to current user
- MySQL: Insert a new row at a specific primary key, or alternately, bump all subsequent rows down?
- Inserting and returning autoidentity in SQLite3
- Architecture: Multiple Mongo databases+connections vs multiple collections with Express
- SQL - Adding a flag based on results within a query - best practice?
- Android database query not returning any results
- Developing a search and tag heavy website
- Oracle stored procedure wrapping compile error with inline comments
- Problems communicating with mysql in php
Related Questions in RELATIONAL-DATABASE
- Database Design: How should I store user's news preferences in MySQL database?
- Listing specific requirements on Access Database form
- How to have multiple rows reference the same field of a single row?
- Why does SQL standard allow duplicate rows?
- How to implement certain relation between two entities?
- Django- manytomany model relationships
- HSQL (in-memory) dramatically slows down when database grows
- MySQL query to get all (additional) symptoms and diseases
- best way to index from Oracle/relational DB into Elastic search
- Unable to get correct data over several joins
- Database Design Advice for a Social Network App Needed
- Automaticlly attach to pivot table in Laravel 5
- Strange results with HSQL (memory) when running transactional test
- UPDATE after INSERT for potentially multiple rows - not working
- Messaging table performance - Merge from and to id`s into one single field vs separate 2 fields
Related Questions in BCNF
- Third Normal Form in DBMS
- Understanding BCNF Functional Dependency
- Confusion over BCNF
- Check BCNF at movie database?
- sql database: table with 2 column (id name) and 2 primary key Third Normal Form Boyce-Codd Normal Form
- Why don't we decompose all relations into 2-attribute relations?
- Multivalued dependency confusion
- Can one attribute in the functional dependency be null?
- Should primary key be constant int?
- A short summary of what BCNF is?
- Normalizing to BCNF and Removing Anomalies
- Boyce-Codd Normal Form
- 3NF vs BCNF: Example
- Reduced to BCNF
- BCNF vs 3NF technical questions
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To determine if a relation is BCNF we examine it's functional dependencies.
It is in BCNF if for each FD X→Y, we either have
The FDs are A→C, D→CB, AC→E. Let's start with the first FD A→C.
A→C is not trivial because C ∉ A. A→A is trivial dependency for instance.
Now is A→C a superkey? To check that we compute the closure of left hand side of the FD, in this case A. The closure is all elements logically implied by A. [A]+ = A ∪ C ∪ E = ACE or so we have A→ACE.
ACE is not a superkey, because it does contain all attributes of the relation.
So the relation is not in BCNF, because A→C is neither trivial or a superkey.
There are other violations of BCNF too. [D]+ = BCD which is not a superkey or trivial. [AC]+ = ACE which is not a superkey or trivial.
Hope this helps! I think everything is correct but I'm studying for finals right now and trying to learn a lot of this material as well.