Skip to content

Commit

Permalink
Test insert and update book collection information
Browse files Browse the repository at this point in the history
  • Loading branch information
smileexpression committed Dec 12, 2023
1 parent 557f536 commit 9eb320d
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion lab15-library-management-system/Test/test.sql
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,24 @@ SET
`quantity` = 0,
`total` = 0
WHERE
`ISBN` = '11'
`ISBN` = '11';

SELECT
*
FROM
book_collection_information;

INSERT INTO
book_collection_information
VALUES
(
NULL,
'ISBN',
'2021-01-01',
'not lent'
);

UPDATE
book_collection_information
SET
STATUS = 'not lent';

0 comments on commit 9eb320d

Please sign in to comment.