Jump to content

SELCET statement which returns count of different types


homiee

Recommended Posts

Hi everybody!I have this table:ID | Type | Serial----------------------1 | 2 | 5122 | 1| 5133 | 2 | 5144 | 1 | 5155 | 2 | 516What is the SQL SELECT statement, which returns a table like this:Type | Count---------------1 | 22 | 3(Count means number of times showed)thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...