Menu
easyBigPay · joins

Show each transaction with its merchant name

The transaction feed stores only a merchant_id, but the app has to show the customer a readable merchant name.

Return transaction_id, amount and merchant_name for every transaction that has a matching merchant, ordered by transaction_id.

Schema

merchants
merchant_idINT
merchant_nameTEXT
transactions
transaction_idINT
merchant_idINT
amountNUMERIC

Example input

merchants
transactions
↑ Read the question

Keep going

Company names are trademarks of their respective owners, used here only to describe practice material. mahir_data is not affiliated with, endorsed by, or sponsored by any company named on this site. Terms.