You are given transaction data and merchant metadata. Write a PostgreSQL query that returns all failed transactions for a specific merchant ID in the last 24 hours, including the merchant name and transaction details.
Problem
Task
You are given transaction data and merchant metadata. Write a PostgreSQL query that returns all failed transactions for a specific merchant ID in the last 24 hours, including the merchant name and transaction details.
Practice SQLPostgreSQL
Open on desktop for the full SQL editor with syntax highlighting and autocomplete.