Select Count(*) as countt from tablename where Name1 = Name2
SELECT COUNT(*) FROM tablename WHERE Name1 = Name2
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)