distinct.result
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:2k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. id
  2. NULL
  3. -1
  4. 0
  5. 1
  6. 2
  7. 3
  8. 4
  9. 5
  10. 6
  11. 7
  12. 8
  13. 9
  14. 10
  15. id facility
  16. NULL NULL
  17. -1
  18. 0
  19. 1 /L
  20. 2 A01
  21. 3 ANC
  22. 4 F01
  23. 5 FBX
  24. 6 MT
  25. 7 P
  26. 8 RV
  27. 9 SRV
  28. 10 VMT
  29. id-5 facility
  30. NULL NULL
  31. -6
  32. -5
  33. -4 /L
  34. -3 A01
  35. -2 ANC
  36. -1 F01
  37. 0 FBX
  38. 1 MT
  39. 2 P
  40. 3 RV
  41. 4 SRV
  42. 5 VMT
  43. id concat(facility)
  44. NULL NULL
  45. -1
  46. 0
  47. 1 /L
  48. 2 A01
  49. 3 ANC
  50. 4 F01
  51. 5 FBX
  52. 6 MT
  53. 7 P
  54. 8 RV
  55. 9 SRV
  56. 10 VMT
  57. a max(id) b
  58. 10 10 VMT
  59. 9 9 SRV
  60. 8 8 RV
  61. 7 7 P
  62. 6 6 MT
  63. 5 5 FBX
  64. 4 4 F01
  65. 3 3 ANC
  66. 2 2 A01
  67. 1 1 /L
  68. -1 -1
  69. 0 0
  70. NULL NULL NULL
  71. grp count(*)
  72. 0 7
  73. 1 6
  74. FACILITY
  75. NULL
  76. /L
  77. A01
  78. ANC
  79. F01
  80. FBX
  81. MT
  82. P
  83. RV
  84. SRV
  85. VMT
  86. FACILITY
  87. NULL
  88. /L
  89. A01
  90. ANC
  91. F01
  92. FBX
  93. MT
  94. P
  95. RV
  96. SRV
  97. VMT
  98. count(*)
  99. 12
  100. count(facility)
  101. 12
  102. count(*)
  103. 13
  104. count(*)
  105. 1
  106. count(*)
  107. 0
  108. count(*)
  109. 12
  110. count(*)
  111. 1
  112. count(*)
  113. 12
  114. UserId
  115. UserId
  116. UserId
  117. UserId
  118. b
  119. 1
  120. table type possible_keys key key_len ref rows Extra
  121. t3 index a a 5 NULL 6 Using index; Using temporary
  122. t2 index a a 4 NULL 5 Using index; Distinct
  123. t1 eq_ref PRIMARY PRIMARY 4 t2.a 1 where used; Distinct
  124. a
  125. 1
  126. table type possible_keys key key_len ref rows Extra
  127. t1 index PRIMARY PRIMARY 4 NULL 2 Using index; Using temporary
  128. t3 ref a a 5 t1.a 10 Using index; Distinct
  129. a
  130. 1
  131. 2
  132. 1
  133. 1
  134. name
  135. aa
  136. ab
  137. name
  138. aa
  139. ab
  140. 1
  141. 1
  142. key_link_id link
  143. NULL NULL
  144. table type possible_keys key key_len ref rows Extra
  145. t1 index id id 4 NULL 2 Using index; Using temporary
  146. t2 index id id 8 NULL 1 Using index; Distinct
  147. t3 index id id 8 NULL 1 Using index; Distinct
  148. j_lj_t2 index id id 4 NULL 2 where used; Using index; Distinct
  149. t2_lj index id id 8 NULL 1 where used; Using index; Distinct
  150. j_lj_t3 index id id 4 NULL 2 where used; Using index; Distinct
  151. t3_lj index id id 8 NULL 1 where used; Using index; Distinct
  152. id
  153. 2
  154. a sec_to_time(sum(time_to_sec(t)))
  155. 1 00:06:15
  156. 1 00:36:30
  157. 1 00:36:30
  158. a sec_to_time(sum(time_to_sec(t)))
  159. 1 00:06:15
  160. 1 00:36:30
  161. a sec_to_time(sum(time_to_sec(t)))
  162. 1 00:06:15
  163. 1 00:36:30
  164. 1 00:36:30
  165. a sec_to_time(sum(time_to_sec(t)))
  166. 1 00:06:15
  167. 1 00:36:30