A:
There's some ambiguity in the question that makes it a little complicated to answer.
The phrase "motion to table" is often meant in different ways.
You may want to take a look at the following Q&A for a clarification:
Then, it's not apparent what is meant by "a motion on the floor."
There are several different kinds of motions, but I believe the question is asking about an immediately pending Main motion.
If that is the case, then the answer is simple:
Main motions yield to all subsidiary, privileged and applicable incidental motions.
This means that regardless of what meaning you give to the phrase "to table," that motion has a higher precedence than any Main motion, because Postpone Indefinitely, Postpone Definitely and Lay on the Table are all subsidiary motions.
How do you discuss a tabled motion