Question

How can I calculate a minimum number of A and B on mysql?

Command 'min()' means something else on the SQL.

Was it helpful?

Solution

The correct function to get a minimum number from two numbers:

LEAST()
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top