The answer query post isn't the same as the first posted question query. The 2nd post has an 'ELSE' statement which translates the results to -1. If you run the...
- identity field makes a good primary key because it makes indexes and joins smaller but, if it is the primary key, there should be another unique key to...