I have a table with the following:
| Customer | Order Count|
-----------------------
| 1 | 1 |
| 2 | 2 |
| 3 | 1 |
and I want to create an additional column so I end up with the following:
| Customer | Order Count| Status |
--------------------------------
| 1 | 1 | new |
| 2 | 2 | old |
| 3 | 1 | new |
How can I structure my query in order to do so?
edit: the logic for the status labeling is that new customers only have one order, and old customers have > 1