I have the following tables in my database:
Media(IdMedia, Description)
Images(IdImage, IdMedia, Size)
Requests(IdRequest, IdMedia, DownloadDate, Aproved)
I need to create a query that will calculate the total downloads of each image and show the user the percentage of those downloads in the total number of downloads in the current month
Example:
Let
Media(IdMedia, Description)
Images(IdImage, IdMedia, Size)
Requests(IdRequest, IdMedia, DownloadDate, Aproved)
I need to create a query that will calculate the total downloads of each image and show the user the percentage of those downloads in the total number of downloads in the current month
Example:
Let