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, 22.06.2019 21:00
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr.nextdouble(); minutestraveled = scnr.nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system.out.println("miles: " + milestraveled); } }
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
Nathan wants to create multiple worksheet containing common formatting styles for his team members. which file extension him to save these worksheets? nathan to create multiple worksheets with common styles. he needs to save them with the extension.
Answers: 1
question
Computers and Technology, 22.06.2019 21:50
Answer the following questions regarding your system by using the commands listed in this chapter. for each question, write the command you used to obtain the answer. a. what are the total number of inodes in the root filesystem? how many are currently utilized? how many are available for use? b. what filesystems are currently mounted on your system? c. what filesystems are available to be mounted on your system? d. what filesystems will be automatically mounted at boot time?
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
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, 08.11.2019 05:31
question
Chemistry, 08.11.2019 05:31
question
Mathematics, 08.11.2019 05:31
Questions on the website: 13722367