Welcome Guest, Not a member yet? Register   Sign In
SQL Statement Suggestions
#5

[eluser]Fielder[/eluser]
How do I return the number of times a particular addendum_id occured in the query? For instance, in the above '100' would return a count of 3 and '300' a count of 1.

Do I put a
Code:
COUNT(addendum_id) Count
in my SELECT statement? And this will return the number of each addendum_id in the subquery?


Messages In This Thread
SQL Statement Suggestions - by El Forum - 08-05-2010, 12:08 AM
SQL Statement Suggestions - by El Forum - 08-05-2010, 12:35 AM
SQL Statement Suggestions - by El Forum - 08-05-2010, 10:35 PM
SQL Statement Suggestions - by El Forum - 08-06-2010, 01:26 AM
SQL Statement Suggestions - by El Forum - 08-21-2010, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB