subject

Bài 4: Cho lược đồ CSDL quản lí bạn đọc thư viện gồm các quan hệ sau: DOCGIA ( MAĐG, HOTEN, GTINH, NAMSINH, NGHENGHIEP)
MUONSACH (MAĐG, MAS, NGAYMUON, NGAYHENTRA)
SACH (MAS, TENSACH, TACGIA, NHAXB, NAMXB, SOLUONG)
Chú thích: DOCGIA: độc giả, MAĐG: Mã độc giả, HOTEN: họ tên, GTINH: giới tính, NAMSINH: năm sinh, NGHENGHIEP: nghề nghiệp, MUONSACH: mượn sách, MAS: mã sách, NGAYMUON: ngày mượn sách, NGAYHENTRA: ngày hẹn trả sách, SACH: sách, TENSACH: tên sách, TACGIA: tên tác giả, NHAXB: nhà xuất bản, NAMXB: năm xuất bản sách, SOLUONG: số lượng
Hãy thực hiện các yêu cầu sau bằng biểu thức đại số quan hệ và ngôn ngữ SQL:
1. Đưa ra danh sách các quyển sách đã mượn của các độc giả có Tuổi >=25 và có nghề nghiệp là Giáo viên. Thông tin đưa ra gồm mã độc giả, họ tên, nghề nghiệp, tên sách.
2. Đưa ra danh sách các độc giả là nam đã mượn sách trong ngày 10/10/2008.
3. Lập danh sách các sách của tác giả “Phạm Văn Ất”.
4. Lập danh sách các sách của nhà xuất bản Giáo dục.
5. Lập danh sách sách đã mượn trong tháng này, các thông tin cần đưa ra: mã sách, tên sách, tác giả, tên nhà xuất bản.
6. Lập danh sách các độc giả có hẹn trả sách ngày hôm nay, các thông tin cần đưa ra: mã độc giả, họ tên độc giả, mã sách đã mượn.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:10
What role did women fill during world war ii?
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
File account.java (see previous exercise) contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and account number, and return a string representation. note that the constructor for this class creates a random account number. save this class to your directory and study it to see how it works. then write the following additional code: 1. suppose the bank wants to keep track of how many accounts exist. a. declare a private static integer variable numaccounts to hold this value. like all instance and static variables, it will be initialized (to 0, since it’s an int) automatically. b. add code to the constructor to increment this variable every time an account is created. c. add a static method getnumaccounts that returns the total number of accounts. think about why this method should be static - its information is not related to any particular account. d. file testaccounts1.java contains a simple program that creates the specified number of bank accounts then uses the getnumaccounts method to find how many accounts were created. save it to your directory, then use it to test your modified account class.
Answers: 3
question
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
question
Computers and Technology, 24.06.2019 00:40
Use a software program or a graphing utility with matrix capabilities to solve the system of linear equations using an inverse matrix. x1 + 2x2 − x3 + 3x4 − x5 = 6 x1 − 3x2 + x3 + 2x4 − x5 = −6 2x1 + x2 + x3 − 3x4 + x5 = 3 x1 − x2 + 2x3 + x4 − x5 = −3 2x1 + x2 − x3 + 2x4 + x5 = 5
Answers: 3
You know the right answer?
Bài 4: Cho lược đồ CSDL quản lí bạn đọc thư viện gồm các quan hệ sau: DOCGIA ( MAĐG, HOTEN, GTINH,...
Questions
question
Mathematics, 05.12.2019 11:31
question
Mathematics, 05.12.2019 11:31
question
History, 05.12.2019 11:31
question
Biology, 05.12.2019 11:31
Questions on the website: 13722363