标签: php mysql
我有一个mysql表。我想在html php页面中获取该表的列的常用值。如果列包含A,B,A,C,我想通过查询在php页面中获取A.
答案 0 :(得分:3)
select col from your_table group by col having count(*) > 1