MySQL Forums
Forum List  »  Spanish

Sumar todas las palabras repetidas
Posted by: Samuel Salazar
Date: November 17, 2019 11:44PM

Select * FROM evaluacion;
+---------------+-----------------+-----------+-----------+-----------+------------+
| id_evaluacion | nivel_academico | pregunta1 | pregunta2 | pregunta3 | fecha |
+---------------+-----------------+-----------+-----------+-----------+------------+
| 1 | TSU | regular | bien | muy bien | 2019-11-17 |
| 2 | TSU | mal | regular | bien | 2019-11-17 |
| 3 | TSU | muy bien | muy bien | muy bien | 2019-11-17 |
| 4 | TSU | bien | bien | regular | 2019-11-17 |
| 5 | TSU | muy bien | regular | muy bien | 2019-11-17 |
+---------------+-----------------+-----------+-----------+-----------+------------+

Tengo esta Consulta, pero quiero saber como podrĂ­a contar todas las respuestas
Ejemplo: Que muestre cuantas veces aparece (muy bien), que en esta consulta tendrĂ­an que salir 6

Mal : 1
Regular: 4
Bien: 4
Muy Bien: 6

Un saludo, gracias.

Options: ReplyQuote


Subject
Views
Written By
Posted
Sumar todas las palabras repetidas
760
November 17, 2019 11:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.