c# Finding similar values in the database -


i created access database , connected c# code. in database, have 2 columns (ip , port). question how find same ip connects different value of port column. other words, want search if same ip connects many different ports. idea?!!

thank you

select ip tablename group ip having count(distinct port) > 1; 

Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

sql server - database first change primary key from int to uniqueidentifier -

mysql - SQL, Recursive Query -