|-------------------------------------- | luid | alti | lati | sdate | |-------------------------------------- | 14 | 11.222 | 11.22 |18-10-2016 | | 14 | 22.333 | 11.22 |18-10-2016 | | 12 | 32.111 | 11.22 |18-10-2016 | | 12 | 11.234 | 11.22 |18-10-2016 | | 13 | 24.555 | 11.22 |18-10-2016 | | 16 | 16.000 | 11.22 |19-10-2016 | ---------------------------------------
我想从 18-20-2016 表格中获取唯一的 luid 总列也。
我该怎么做?
答案 0 :(得分:0)
尝试,
SELECT DISTINCT(Column_Name) AS Column_Name FROM Table_Name ORDER BY Column_Name DESC;
答案 1 :(得分:0)
尝试这个
从luid
选择table
WHERE sdate
=“所需日期”分组luid