# Calculate a 30-day return deadline for each transaction

Canonical URL: <https://datadriven.io/problems/calculate-a-30-day-return-deadline-for-each-transaction-sho-6e70c4e2>

Domain: SQL · Difficulty: medium

## Problem

Calculate a 30-day return deadline for each transaction. Show transaction_id, transaction_date, and the deadline as return_deadline.

## Related

- [All practice problems](https://datadriven.io/problems)
- [Mock interview mode](https://datadriven.io/interview/calculate-a-30-day-return-deadline-for-each-transaction-sho-6e70c4e2)
- [SQL Interview Questions](https://datadriven.io/sql-interview-questions)
- [Data Engineering Interview Prep Guide](https://datadriven.io/data-engineer-interview-prep)
- [Daily Challenge](https://datadriven.io/daily)

---

Source: DataDriven (https://datadriven.io). 100% free data engineering interview prep. Live code execution against Postgres 16, Python 3.11, and Spark sandboxes. No paywall, no premium tier, no signup gate.