Transaction-Only Features
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L5
Problem
The ML team is isolating features exclusive to the 'transactions' source that do not appear in 'page_views' or 'ad_impressions'. Two features are considered equal if they share the same name and data type. Show the feature name, data type, average value, and null percentage, ordered by feature name.
Summary
Exclusive to one source. Missing from the other.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.