Based on a simple database I created for this program, I will illustrate how to make enquiries to a pivot table for various information. Apart from creating reusable functions to make simple statistics enquiry, I have also added an interactive feature to these functions using Jupyter notebook's #'Ipywidget' module.