BookShop database codes