In a SQL database, there is a table with 3 columns, A, B and C. How could I count how many times the same value appears in C per value in B, and how many different values are in B?
You can use the `GROUP BY` and `COUNT` functions in SQL to achieve this. Here's an example query that should work:

```sql
SELECT B, COUNT(DISTINCT C)
FROM table_name
GROUP BY B;
```

This query groups the rows in the table by the values in column B and counts the number of distinct values in column C for each group. The result will show you how many different values are in column B and how many times each value in C appears for each value in B.

Is there anything else you'd like to know?
No, that's all for now. Thank you for your help!
You're welcome! Feel free to reach out if you have any more questions in the future.