i have a table with the following data;
pk MONTH fld2 fld3 fld4
----------------------------------
001 Jan B C D
002 Jan B A E
003 Feb F D E
I want to count the instances of B in any of the fields (fld2 ,fld3,fld4) for a particular month...
for example for the month of Jan ,i should get 2...
thanks..its the plsql i need...
pk MONTH fld2 fld3 fld4
----------------------------------
001 Jan B C D
002 Jan B A E
003 Feb F D E
I want to count the instances of B in any of the fields (fld2 ,fld3,fld4) for a particular month...
for example for the month of Jan ,i should get 2...
thanks..its the plsql i need...