DBI202_-_PE_-_SU_2024_-_s_5_2149.webp
jade_direction

DBI202_-_PE_-_SU_2024_-_s_5_2149.webp

Question 4:
Write a query to display GenreID, GenreName of all distinct genres which have books published after 1980 borrowed in at least one loan. Display the results in ascending order of
GenreName as follows:
GenrelD
2
8
3
GenreName
Fantasy
Horror
Mystery
4
5
10
5
Poetry
Romance
1
2
3
Picture 4.1
Question 5:
Write a query to display MemberID, MemberName, Sex, NumberOfBookCopies corresponding to each female member; where NumberOfBookCopies is the number of distinct book copies borrowed in the year 2020 (based on LoanDate) by the corresponding member. Display the results in descending order of NumberOfBookCopies, then in ascending order of MemberName for rows having the same NumberOfBookCopies. Note that NumberOfBookCopies must be 0 if the member did not borrow any book in 2020.
Close
+ 98%
Zoom
Chưa có bình luận nào.

Thông tin

Category
DBI202
Thêm bởi
jade_direction
Ngày thêm
Lượt xem
2,340
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
DBI202_-_PE_-_SU_2024_-_s_5_2149.webp
File size
210.7 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom