Author Count, Website Percentage, and Unsold Author Percentage

Problem

Given the following tables, write a SQL query returning one row of author statistics.

authors(author_id PRIMARY KEY, website_url)
books(book_id PRIMARY KEY, author_id)
transactions...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: