Loading...

Content Mix

A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
easy

Problem

The editorial team is deciding next quarter's production budget and wants to compare content formats head-to-head. For each content type, show the number of published items, the average duration in seconds, and the share of items that have no duration on file. Round the share to one decimal place and present the formats from most published to least.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.