"I am not studying by that table, but by this one."
Translation:Nem a mellett az asztal mellett tanulok, hanem e mellett.
Yes. You are denying studying ("nem tanulok"), and contrasting it with "this table".
Remember, what is closest to "nem" is being negated.
"Nem tanulok annál az asztalnál, hanem olvasok."