I have created a form which the user can use in order to search for transactions. This is a picture of the form:

Now, the total price drop down list has the members:
- Any Price
- Exact Amount
- Below Amount
- Above Amount
The currency drop down list has the members:
- Any Currency
- EUR
- USD
- GBP
The transaction date drop down list has the members:
- Any Date
- Exact Date
- Below Date
- Above Date
The transaction status drop down list has the members:
- Any Status
- Active
- Expired
- Paid
All the details are being fetched from a table called Payments.
Can someone please help me how I can go about to search in the Payments table? Can I satisfy all the different possibilities using one SQL statement? Or do I have to use multiple SQL statements? Can someone please give me a template of an SQL statement that can be used to satisfy the different possibilities? Please help since SQL is not my strongest point. Thank you :)