Sum of a total as a percentage Sql query

Hours%20error

This is the error I get when I run the query