I have a table with two columns. One is Name, other is Mark.
Mark can be low, mid or high. Under every name, i want count of high low and mid.
enter image description here
Question posted in PostgreSQL
The official documentation can be found here.
The official documentation can be found here.
2
Answers
Using sql?
Select name, count(mark)
FROM your_table
GROUP by name, mark