Now that the table size keeps increasing, here's a faster way to do the puzzle that requires less trial and error and moving of flowerpots:
1) Check how many mDB you are away from the solution.
2) Starting with the first column (I like to start from the rightmost column), move the pot all the way to the end that it is furthest from. Note the number of squares that it passes - I'll call this number "X".
3) Now check how much the mDB has changed.
a) If it has reduced by X, then your flower pot is in the right place.
b) If it has reduced by X-1, then it needs to be moved one spot away from the end. If it has reduced by X-2, then it needs to be moved two spots away from the end - so on and so forth.
c) On the other hand, if the number has increased by X, then this means that the original position was the correct one. If it has increased by X+1, then it needs to be moved back one square after the original position (in the other direction). If it is X+2, then move it two squares past the original position in the other direction - so on and so forth.
With this method, you only need a maximum of two moves per column to place each flowerpot in the correct spot. You do need to pay a bit more attention (and do some basic arithmetic) compared to the trial and error method though.