Video Sharing Website Database Structure Create and insert statements with some queries for a video sharing website with accounts, trending videos, etc.
One trigger for displaying certain videos as trending dependeing on a pre-decided ratio of views to net number of likes.