Back to Editor

Solution: 31. Video Title with Channel Name

Medium

Problem Detail:

Write a SQL query to display each video title along with its corresponding channel name.

Answer SQL Query:

SELECT v.video_id, v.title, c.channel_name
FROM videos v
JOIN channels c
  ON v.channel_id = c.channel_id;
You can easily copy this solution, switch back to your editor tab, paste it, and run the SQL!