Hi there,
I've worked with Python for the last 4 years programming trading algorithms for my own company's use. (I'm a financial advisor). Prior to that I had extensive experience massaging large data sets of travel data with MSSQL , Postgres and MYSQl, but I was working more with Java and PHP.
I would write this command line script in python. I assume that you will provide the query syntaxes to run. How would you like the final output to be formatted ? JSON, XML, CSV ?
I'm currently finishing up another project, so I could only deliver 14 days after receiving the exact specs..