Hello
I have the following query
The User_Resource table indicates how many times a user has downloaded a resource. If the resource has not yet been downloaded they will not appear in my query because of the ?
Does anyone know how to fix this?
If the resource has not yet been downloaded it should still appear with 0 times downloaded
I have the following query
Code:
SELECT COUNT(ur.resourceId) AS times_downloaded FROM Resource as r, user_resource as ur WHERE r.resourceId = ur.resourceId Group BY ur.resourceId
Code:
WHERE r.resourceId = ur.resourceId
If the resource has not yet been downloaded it should still appear with 0 times downloaded
Comment