在表中,可能会包含重复值。这并不成问题,不过,有时您也许希望仅仅列出不同(distinct)的值。

distinct关键字
此表中含有重复的name,那么我们可以利用distinct排除掉重复的
未用distinct时:
distinct关键字
使用后:
distinct关键字

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-06-04
  • 2021-10-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2021-10-01
  • 2021-10-14
  • 2021-12-11
  • 2021-08-10
相关资源
相似解决方案