ITEC 3220 Lecture Notes - Lecture 1: Candidate Key, Visual Basic, Business Rule
12 views3 pages
Document Summary
Select c_name, c_address from candidate_skills where (skill_1 = vb6" and exp_1 > 3 ) or ( skill_2 = The line above might look bad meaning not optimized we should consider alternatives. Basically, we want to optimize meaning alternative design, schema integration, not every integrity constraint can be expressed in erd. Erm does not provide: criteria for schema evaluation, algorithms for schema refinement. Decomposition: basically the relation schema which means table, is replacement by 2 or more r schema such that we get all attributes from original schema. Example: r = (a, b, c, d, e, f) turns into. R1 = (a, b, d) , r2 = (b, c, e, f) R1 = (a, b, d) , r2 = (c, e, f) Definition: a subset depends on its parent, a -> b. If for any possible pair of tuples t1 and t2 from any instance opf r the following holds: If t1. a = t2. a, then t1. b = t2. b.