Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Adjacency List Model Anomalies UPDATE Trees In The Database - Advanced data structures

194,205 views

Published on

Adjacency List Model Anomalies

UPDATE anomalies

START TRANSACTION;
emp boss salary
UPDATE emp_orgchart A NULL 1000.00
SET emp = ‘C1’ B A 900.00
WHERE emp = ‘C’; C1 A 900.00
D C 800.00
UPDATE emp_orgchart E C 700.00
SET boss = ‘C1’ F C 600.00
WHERE boss = ‘C’;

COMMIT;


7

Published in: Technology, Business
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Thank you for this
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi Lorenzo, could you take a look of this link in which I design some new solutions: https://github.com/drinkjava2/Multiple-Columns-Tree , with 2 fields (sorted) "line" and "level" and a end tag, will easy do query/add/delete operation.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • please make this downloadable
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • nice but why i cannot save it ?it's worthless then..
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

×