Mysql – Using nested queries with COUNT function
I am using an SQL table to keep track of the number of meals given to students every day. The table is structured as follows: ID_Student MealDate MealType 1 2023-05-21 1 2 2023-05-21 1 1 2023-05-21 2 2 2023-05-21 2…