There is a rule:
one input(x-value) can only have one output(y-value) in order to be a function.
So if one input has more than one output, it is not a function.
But if an output has more than one input, it is still a function.
This table does not represent a function because the inputs: 0, 1, 2,
have more than one output.