Count cell values in a MYSQL WorkBench row

0

How about,

I have a table in which I want to count the values that each cell of a line has to compare them with the values of the cells of the following lines. To finally take the higher value.

This is an example of my table, in which the first row is 15 and the second 4 therefore the largest is 15.

Greetings.

    
asked by Gael Rodriguez 26.05.2018 в 05:41
source

1 answer

0

Try this:

Select MAX(TiempoP + TiempoH + TiempoN + TiempoB)
FROM Tabla
    
answered by 26.05.2018 / 08:27
source