Changes between Version 5 and Version 6 of UseCase013


Ignore:
Timestamp:
01/13/25 02:38:17 (2 days ago)
Author:
201205
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCase013

    v5 v6  
    2424 (4, 'Urban Fiction')
    2525
    26 INSERT INTO Library (InventoryId, UserId, BookId, Availability, Condition)
    27 VALUES (4, 1, 4, 'Available', 'Like New')
     26INSERT INTO Library (InventoryId, UserId, Availability, Condition)
     27VALUES (4, 1, 'Available', 'Like New')
     28
     29INSERT INTO LibraryBook(InventoryId, BookId)
     30VALUES (4,4)
    2831}}}
    2932
     
    3740
    3841{{{
    39 update "library" l
     42update Library L
    4043set condition='Poor'
    41 where l.bookid=5;
     44from LibraryBook LB
     45where L.InventoryId=LB.InventoryId and LB.BookId=5;
    4246}}}
    4347
     
    4852
    4953{{{
    50 delete from "library" l
    51 where l.bookid=5;
     54delete from Library L
     55using LibraryBook LB
     56where L.InventoryId=LB.InventoryId and LB.BookId=5;
    5257}}}