![]() | |
#41
| ||||
| ||||
|
|
Thanks. *Although the relational lattice has seemed a fuzzy to me (no doubt that's my fault as usually takes me years before I feel confident in a mathematical topic), I gather that this example is about "insert" to JOIN. * |
|
Just guessing but I gather that RL could be seen as a alternative way of understanding RM, maybe more fundamental in some ways and maybe has some more useful mechanical theoretical tools, so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? |
|
BTW, ever since I first read about it, I've tried to use the TTM algebra in my head because the small and tight definitions make it easier to check my thoughts by comparing results in terms of relations. *But I find most other people tune out when I use them to explain myself. * |
|
Also BTW, because I didn't think it affected the problem, I wasn't assuming any foreign key, but if I did I could express the one involving S and SP as: SP{S#} & S{S#} = SP{S#} (where & means <AND>). |
#42
| ||||
| ||||
|
|
Thanks. *Although the relational lattice has seemed a fuzzy to me (no doubt that's my fault as usually takes me years before I feel confident in a mathematical topic), I gather that this example is about "insert" to JOIN. * |
|
Just guessing but I gather that RL could be seen as a alternative way of understanding RM, maybe more fundamental in some ways and maybe has some more useful mechanical theoretical tools, so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? |
|
BTW, ever since I first read about it, I've tried to use the TTM algebra in my head because the small and tight definitions make it easier to check my thoughts by comparing results in terms of relations. *But I find most other people tune out when I use them to explain myself. * |
|
Also BTW, because I didn't think it affected the problem, I wasn't assuming any foreign key, but if I did I could express the one involving S and SP as: SP{S#} & S{S#} = SP{S#} (where & means <AND>). |
#43
| ||||
| ||||
|
|
Thanks. *Although the relational lattice has seemed a fuzzy to me (no doubt that's my fault as usually takes me years before I feel confident in a mathematical topic), I gather that this example is about "insert" to JOIN. * |
|
Just guessing but I gather that RL could be seen as a alternative way of understanding RM, maybe more fundamental in some ways and maybe has some more useful mechanical theoretical tools, so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? |
|
BTW, ever since I first read about it, I've tried to use the TTM algebra in my head because the small and tight definitions make it easier to check my thoughts by comparing results in terms of relations. *But I find most other people tune out when I use them to explain myself. * |
|
Also BTW, because I didn't think it affected the problem, I wasn't assuming any foreign key, but if I did I could express the one involving S and SP as: SP{S#} & S{S#} = SP{S#} (where & means <AND>). |
#44
| ||||
| ||||
|
|
Thanks. *Although the relational lattice has seemed a fuzzy to me (no doubt that's my fault as usually takes me years before I feel confident in a mathematical topic), I gather that this example is about "insert" to JOIN. * |
|
Just guessing but I gather that RL could be seen as a alternative way of understanding RM, maybe more fundamental in some ways and maybe has some more useful mechanical theoretical tools, so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? |
|
BTW, ever since I first read about it, I've tried to use the TTM algebra in my head because the small and tight definitions make it easier to check my thoughts by comparing results in terms of relations. *But I find most other people tune out when I use them to explain myself. * |
|
Also BTW, because I didn't think it affected the problem, I wasn't assuming any foreign key, but if I did I could express the one involving S and SP as: SP{S#} & S{S#} = SP{S#} (where & means <AND>). |
#45
| ||||
| ||||
|
|
Thanks. *Although the relational lattice has seemed a fuzzy to me (no doubt that's my fault as usually takes me years before I feel confident in a mathematical topic), I gather that this example is about "insert" to JOIN. * |
|
Just guessing but I gather that RL could be seen as a alternative way of understanding RM, maybe more fundamental in some ways and maybe has some more useful mechanical theoretical tools, so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? |
|
BTW, ever since I first read about it, I've tried to use the TTM algebra in my head because the small and tight definitions make it easier to check my thoughts by comparing results in terms of relations. *But I find most other people tune out when I use them to explain myself. * |
|
Also BTW, because I didn't think it affected the problem, I wasn't assuming any foreign key, but if I did I could express the one involving S and SP as: SP{S#} & S{S#} = SP{S#} (where & means <AND>). |
#46
| ||||
| ||||
|
|
Thanks. *Although the relational lattice has seemed a fuzzy to me (no doubt that's my fault as usually takes me years before I feel confident in a mathematical topic), I gather that this example is about "insert" to JOIN. * |
|
Just guessing but I gather that RL could be seen as a alternative way of understanding RM, maybe more fundamental in some ways and maybe has some more useful mechanical theoretical tools, so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? |
|
BTW, ever since I first read about it, I've tried to use the TTM algebra in my head because the small and tight definitions make it easier to check my thoughts by comparing results in terms of relations. *But I find most other people tune out when I use them to explain myself. * |
|
Also BTW, because I didn't think it affected the problem, I wasn't assuming any foreign key, but if I did I could express the one involving S and SP as: SP{S#} & S{S#} = SP{S#} (where & means <AND>). |
#47
| |||
| |||
|
|
paul c wrote: ... so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? ... Just as they find "insert" to UNION. *The main argument seems to be that the operation is not deterministic when trying to decide on a base table by base table basis what to change, ie., there are three combinations of base values that could produce the same tuple in a view. *McGoveran seemed to be saying that this argument is the wrong one, doesn't take in all available information because it manipulates extensions without concern as to the implications of the predicates and values involved before the insert or delete is tried. |
|
It just seemed to me that if one started with the algebra and could somehow gauge all possible expressions as to what their resulting relations would be, one might find that McGoveran is right and if not, show that the problem is more complicated than he suggested. *It also seemed to me that for such an exercise, if one had the right mental machinery, one could ignore the practical restrictions that are usually followed, such as common headings for union and run-time exceptions that some think will confuse dumb users. |
#48
| |||
| |||
|
|
paul c wrote: ... so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? ... Just as they find "insert" to UNION. *The main argument seems to be that the operation is not deterministic when trying to decide on a base table by base table basis what to change, ie., there are three combinations of base values that could produce the same tuple in a view. *McGoveran seemed to be saying that this argument is the wrong one, doesn't take in all available information because it manipulates extensions without concern as to the implications of the predicates and values involved before the insert or delete is tried. |
|
It just seemed to me that if one started with the algebra and could somehow gauge all possible expressions as to what their resulting relations would be, one might find that McGoveran is right and if not, show that the problem is more complicated than he suggested. *It also seemed to me that for such an exercise, if one had the right mental machinery, one could ignore the practical restrictions that are usually followed, such as common headings for union and run-time exceptions that some think will confuse dumb users. |
#49
| |||
| |||
|
|
paul c wrote: ... so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? ... Just as they find "insert" to UNION. *The main argument seems to be that the operation is not deterministic when trying to decide on a base table by base table basis what to change, ie., there are three combinations of base values that could produce the same tuple in a view. *McGoveran seemed to be saying that this argument is the wrong one, doesn't take in all available information because it manipulates extensions without concern as to the implications of the predicates and values involved before the insert or delete is tried. |
|
It just seemed to me that if one started with the algebra and could somehow gauge all possible expressions as to what their resulting relations would be, one might find that McGoveran is right and if not, show that the problem is more complicated than he suggested. *It also seemed to me that for such an exercise, if one had the right mental machinery, one could ignore the practical restrictions that are usually followed, such as common headings for union and run-time exceptions that some think will confuse dumb users. |
#50
| |||
| |||
|
|
paul c wrote: ... so I wonder what happens with "delete" to JOIN (which I believe is the operation that many people find controversial)? ... Just as they find "insert" to UNION. *The main argument seems to be that the operation is not deterministic when trying to decide on a base table by base table basis what to change, ie., there are three combinations of base values that could produce the same tuple in a view. *McGoveran seemed to be saying that this argument is the wrong one, doesn't take in all available information because it manipulates extensions without concern as to the implications of the predicates and values involved before the insert or delete is tried. |
|
It just seemed to me that if one started with the algebra and could somehow gauge all possible expressions as to what their resulting relations would be, one might find that McGoveran is right and if not, show that the problem is more complicated than he suggested. *It also seemed to me that for such an exercise, if one had the right mental machinery, one could ignore the practical restrictions that are usually followed, such as common headings for union and run-time exceptions that some think will confuse dumb users. |
![]() |
| Thread Tools | |
| Display Modes | |
| |