Can you get the distinct combination of 2 different fields in a database table? if so, can you provide the SQL example.
You can get result distinct by two columns use below SQL:
SELECT COUNT(*) FROM (SELECT DISTINCT c1, c2 FROM [TableEntity]) TE