Got it working for MySQL tables