To make something a function the x cannot share multiple Ys(the vertical line test) but the y can share as many Xs
For example:
(1,3) (1,-6) would not be a function but...
(1,3) (2,6) would be
The domain is the x value. In a table it will almost always appear on the left side.
The range is the y value. In a table it will almost always appear on the right side.