I have the following table in SQL Server:
| idx | value | | --- | ----- | | 1 | N | | 2 | C | | 3 | C | | 4 | P | | 5 | N | | 6