阅读背景:

SQL - 对特定条件重复的行

来源:互联网 

We have a table like this:

我们有一个这样的表:

 +----+-------+-----------------+----------------+-----------------+----------------+-----------------+
| ID |  Name | RecievedService | FirstZoneTeeth | SecondZoneTeeth | ThirdZoneTeeth | FourthZoneTeeth |
+----+-------+-----------------+----------------+-----------------+----------------+-----------------+
|  1 |  John |   SomeService1  |       13       |                 |        4       |                 |
+----+-------+-----------------+----------------+-----------------+----------------+-----------------+
|  2 |  John |   SomeService1  |       34       |                 |                |                 |
+----+-------+-----------------+----------------+-----------------+----------------+-----------------+
|  3 | Steve |   SomeService3  |                |                 |                |        2        |
+----+-------+-----------------+----------------+-----------------+----------------+-----------------+
|  4 | Steve |   SomeService4  |                |                 |                |        12       |
+----+-------+-----------------+----------------+-----------------+----------------+-----------------+
 +---



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: