我不清楚确切地,
SELECT DISTINCT col1, col2, ... FROM table_name
当对一列调用时,它只返回该列的不同值。当我们将它与多个列一起使用时会发生什么,我们应该这样做吗?
postgresql distinct
distinct ×1
postgresql ×1