DBI202_-_PE1_-_FA_2024_2921.webp
L

DBI202_-_PE1_-_FA_2024_2921.webp

Send an error message if the operation is unsuccessful or the data is invalid.
4. (2 points) Create trigger Trigger_1: When updating the value of the EndTime
column in the Bill table, calculate and update the total_amount, and additionally
update the status_bill column from C to U, and update the table status to A (Available).The formula for total amount is:
total_amount = DATEDIFF(MINUTE, StartTime, EndTime) * hourly_rate / 60.
5. (2 points) Create a view to display a list of customers who have played billiards at the club more than twice. The list includes customer ID, customer name, and number
of visits.
End
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
DBI202
Thêm bởi
Lan Hương
Ngày thêm
Lượt xem
847
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
DBI202_-_PE1_-_FA_2024_2921.webp
File size
158.1 KB
Dimensions
1920px x 863px

Share this media

Back
Bên trên Bottom