Changes between Version 23 and Version 24 of Логички и физички дизајн - Креирање база податоци (со SQL DDL)
- Timestamp:
- 12/18/24 17:58:55 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Логички и физички дизајн - Креирање база податоци (со SQL DDL)
v23 v24 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 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 16 * ('''__AuthorID__''', FirstName, LastName, Nationality, DateOfBirth) 17 17 '''Book_Author''' 18 * ( BookID*(Book), AuthorID*(Author))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 скрипта за креирање и бришење на табелите ===