Question: can you write me general SQL queries for the questions below. You can use placeholders for the table, row and column names. Members who have
can you write me general SQL queries for the questions below. You can use placeholders for the table, row and column names.
- Members who have ordered polo shirt but have not received it
| Member ID | Name (Last, first) | | phone # (areacode-xxx-xxxx) | Shirt order date | Shirt order payment date | Shirt order payment amount | Shirt received? (show a N in resulting records) |
- All current members
- Exclude the expired members
- Columns and format:
| Member ID | Name (Last, first) | | phone # (areacode-xxx-xxxx) | Latest payment date | Earliest payment date | Number of payments | Average payment amount |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
