Hi,
I have 2 tables. One called "essays" the other called "sales_details". "sales_details" contains a column called "Essay_ID" with numerical values which can be repeated. The full list of numerical values are in the other table "essays" in the column "essayID".
I need to count the amount of times a certain value in "Essay_ID" appears? However the COUNT column that the query produces needs to list all the values from the table "essays" with the corresponding COUNT value next to it or zero if there is no value!
Basically the ASP page output should be 2 columns.... the first being the full list from table "essays" of the column "essayID" and the second column being the COUNT column?
Can anyone please help
Kind regards
Ray
I have 2 tables. One called "essays" the other called "sales_details". "sales_details" contains a column called "Essay_ID" with numerical values which can be repeated. The full list of numerical values are in the other table "essays" in the column "essayID".
I need to count the amount of times a certain value in "Essay_ID" appears? However the COUNT column that the query produces needs to list all the values from the table "essays" with the corresponding COUNT value next to it or zero if there is no value!
Basically the ASP page output should be 2 columns.... the first being the full list from table "essays" of the column "essayID" and the second column being the COUNT column?
Can anyone please help
Kind regards
Ray