Automatically create and update SQL tables based on dynamic data