.Moodle will only allow me to connect to 1 table
Maybe you should be asking there about connecting to more than one table