Python program that runs SQL queries based on user input.