sql - mysql ignore any distinct values -


i trying run sql query not show distinct/duplicate values.

for example if using distinct option display 1 unique result, skip detected distinct values i.e dont display distinct values

is possible?

    select col1  d tb_col  col1 = '123';  col1 ------ 123 123   (2 rows)   select distinct col1  d tb_col  col1 = '123';  col1 ------ 123 (1 row) 

not showing duplicates @ all:

select col1 d tb_col group col1 having count(*) = 1            --- or perhaps having count(*) > 1                                --- it's not clear want.   

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -