I need to create a way to display my results from an SQL query in multiple columns. The sql is pretty basic it's a count of each entry of a certain type.
so the SQL is something like
Select count(distinct(id)) from Table where id_type = a
Select count(distinct(id)) from Table where id_type = b
Select count(distinct(id)) from Table where id_type = c
etc
I want these displayed in a table with one row which will give the count of each type under a column with a custom name.
My SQL is rather sparse, so additional outside info always welcome.