The answer would be D.
In order for a table to represent a function, each x-value needs to pair with exactly one y-value and no more.
In the table shown here, none of the x-values repeat and all of them pair with a unique y-value which means that itβs a function.