Calculation in SQL Microsoft SQL Server?
I have a small Video rental database and I am supposed to display in percentage the number of videos that are rented out.
So I have the formula
(TotalVideosCheckedOut / TotalVideos)*100
That was the easy part. My problem is I am not sure how I get SQL to do that. I get the totalVideos from the inventory [...]