In ordinary arithmetic, multiplication and division are inverse operation. Are times and divide by inverse operations in the relation algebra?
Answer to relevant QuestionsIn ordinary arithmetic there are two special numbers, I and 0, with the properties that n * 1 = 1 * n = nAnd n * 0 = 0 * n = 0 for all number n. What relations (if any) play analogous roles in the relational algebra? ...Get all supplier-number/part-number/project-number triples such that no two of the indicated supplier, part, and project are collocated.Get part number of parts supplied to some project in an average quantity of more than 350.Get all pairs of supplier numbers, Sx and Su say, such that Sx and Sy supply exactly the same set of parts each. Note for simplicity, you might want to use the original suppliers-and-parts data-base for this exercise, ...Show how to express the single-source shortest-paths problem as a product of matrices and a vector. Describe how evaluating this product corresponds to a Bellman-Ford-like algorithm (see Section 24.1).
Post your question