Consider this table:
name mark1 mark2 mark3
x 1 2 2
y 2 2 2
z 1 2 3
Here, I need to select the non distinct for example consider row three, where it contains only one "2" in column2. For this how to write a SQL code? I have made it of using the count and distinct commands but not able to get it.