SQL distinct用法

1. distinct用法,原表:

 

 

2. SQL语句:

SELECT DISTINCT class
FROM test_table;

3. 结果:

 

posted @ 2020-03-17 21:04  正态分个布  阅读(721)  评论(0编辑  收藏  举报