The Java source code for this challenge reveals how the query is constructed:
What is SQL Injection? Tutorial & Examples | Web Security Academy
In this module, you are presented with a "VIP Coupon Check" input field. The backend is designed to verify if a coupon code exists in a database and, if valid, display the discount amount and the associated item name.