Assigning tables to moduleGuide on how to automatically assign tables to a module based on their name using SQL.