Answer to Question #180331 in Databases | SQL | Oracle | MS Access for deva

Question #180331

Find the sum of durations of the videos published by each channel in hours.

Note:

  • The output must contain the duration as number of hours.
  • Sort the output in the descending order of theno_of_hours
1
Expert's answer
2021-04-11T22:41:37-0400
select ch.channel_name,sum(vi.view_hour)
from channel as ch, view as vi
where ch.id=vi.id

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS