Code generation for the chinook sample database