Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hi, I want to count the no.of re

Status
Not open for further replies.

shyamsundar

Programmer
Aug 23, 2002
75
IN
hi,

I want to count the no.of records of a table, for unique field value where the field is not a primary key and the value appears more than one time, i tried with SQL grouping command that gives the result as below

1a -5
1b -3
1c -6

but the i want the result record count as 3 in the above case. I hope I am clear. pl. help.

Thanx Shyam
cwizshyam@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top