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 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
Ahousehold consists of a married couple and their twin five-year old daughters. the couples children had no income and lived with their parents all of last year. how many exemptions can the couple claim on last years tax return or they file with the “ married filing jointly “ status? a. 4 b. 5 c. 3 d. 2
Answers: 1
question
Computers and Technology, 24.06.2019 20:20
3. write assignment statements that perform the following operations with the variables a, b, and c: a. adds 2 to a and assigns the result to b b. multiplies b times 4 and assigns the result to a c. divides a by 3.14 and assigns the result to b
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, 03.10.2019 03:40