Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi All,

I need a program to input the attributes of a table, attribute names are single upper case characters, e.g., A, B. And then are asked to input non-trivial FDs and MVDs, any trivial FDs/MVDs, e.g., A->A/A->->BC for table R(ABC), or erroneous ones (A->BD, A->->BC) for table R(ABC) should be denied. Next all keys of the table are determined by calling a closure operator function, which is written by ourself. The program then decides to which normal form the table belongs. Finally users can input tuples to the table whence all the FDs/MVDs should be satisfied. Any programming language is referred, I tried in C but was unable to come up. Can someone help me with it?
Posted
Updated 12-Oct-10 21:45pm
v2
Comments
LittleYellowBird 13-Oct-10 3:47am    
Hi, its best not to use capitals, it looks like shouting and annoys people. I have made a few corrections to your grammar but I don't know what you meant by 'tuples' (2nd line from end), you want to look at that. Also think about asking a question about your C code that did not work, you will probably get more help that way. :)
OriginalGriff 13-Oct-10 3:47am    
What have you tried? It smells like homework to me...
Johnny J. 13-Oct-10 4:12am    
Need help getting a million dollars...
Sandeep Mewara 13-Oct-10 5:16am    
Any effort?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900