Changes between Version 22 and Version 23 of Логички и физички дизајн - Креирање база податоци (со SQL DDL)
- Timestamp:
- 12/18/24 17:57:46 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Логички и физички дизајн - Креирање база податоци (со SQL DDL)
v22 v23 8 8 * ('''__UserID__''', Username, Password, Email, Role) 9 9 '''Member''' 10 * ( MemberID, Address, Phone, Membership_Status, UserID*(Users))10 * ('''__MemberID__''', Address, Phone, Membership_Status, UserID*(Users)) 11 11 '''Book''' 12 * ( BookID, ISBN, Title, Genre, PublishedYear, TotalCopies)12 * ('''__BookID__''', ISBN, Title, Genre, PublishedYear, TotalCopies) 13 13 '''Book_Copies''' 14 * ( CopyID, BookID*(Book), Condition)14 * ('''__CopyID__''', BookID*(Book), Condition) 15 15 '''Author''' 16 * ( AuthorID, FirstName, LastName, Nationality, DateOfBirth)16 * ('''__AuthorID__''', FirstName, LastName, Nationality, DateOfBirth) 17 17 '''Book_Author''' 18 18 * (BookID*(Book), AuthorID*(Author)) 19 19 '''Loan''' 20 * ( LoanID, LoanDate, ReturnDate, Status, BookCopyID*(Book_Copies), MemberID*(Member))20 * ('''__LoanID__''', LoanDate, ReturnDate, Status, BookCopyID*(Book_Copies), MemberID*(Member)) 21 21 '''Fine''' 22 * ( FineID, FineAmount, FineDate, Status, LoanID*(Loan))22 * ('''__FineID__''', FineAmount, FineDate, Status, LoanID*(Loan)) 23 23 '''FinePayment''' 24 * ( FinePaymentID, PaymentDate, PaymentAmount, FineID*(Fine))24 * ('''__FinePaymentID__''', PaymentDate, PaymentAmount, FineID*(Fine)) 25 25 26 26 === DDL скрипта за креирање и бришење на табелите ===