Changes between Version 5 and Version 6 of UseCase013
- Timestamp:
- 01/13/25 02:38:17 (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UseCase013
v5 v6 24 24 (4, 'Urban Fiction') 25 25 26 INSERT INTO Library (InventoryId, UserId, BookId, Availability, Condition) 27 VALUES (4, 1, 4, 'Available', 'Like New') 26 INSERT INTO Library (InventoryId, UserId, Availability, Condition) 27 VALUES (4, 1, 'Available', 'Like New') 28 29 INSERT INTO LibraryBook(InventoryId, BookId) 30 VALUES (4,4) 28 31 }}} 29 32 … … 37 40 38 41 {{{ 39 update "library" l42 update Library L 40 43 set condition='Poor' 41 where l.bookid=5; 44 from LibraryBook LB 45 where L.InventoryId=LB.InventoryId and LB.BookId=5; 42 46 }}} 43 47 … … 48 52 49 53 {{{ 50 delete from "library" l 51 where l.bookid=5; 54 delete from Library L 55 using LibraryBook LB 56 where L.InventoryId=LB.InventoryId and LB.BookId=5; 52 57 }}}