#281

Advertising Click Metrics

Compute the CTR (click-through rate) for each ad. CTR = clicks / (clicks + views) * 100. Return ad_id and ctr.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

ctrad_id
100.003
66.671
33.335

Your query result will appear here