Search⌘ K
AI Features

Challenge: Implement Business Logic

Explore how to implement business logic in PostgreSQL by writing SQL queries that compute an album's storage size using the track table's bytes column. Learn to structure queries that integrate business rules for practical data retrieval and manipulation.

Problem statement

Writing SQL involves business logic. Write a query to compute an album’s storage size using the bytes column in the track table.

Here’s what ...