Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我想选择雇主日期“Dec-13”,如何编写查询以更快的方式获取表(最右边),结果看起来像这张图片?有人帮我吗?
谢谢 !
用于DISTINCT从列中唯一选择值。
DISTINCT
SELECT DISTINCT Employer_ID FROM TableName
尝试:
SELECT ID, Employer_ID FROM table GROUP BY Employer_ID
尝试
SELECT * FROM tablename GROUP BY Employer_ID