The program for querying in ADVANDB MP1 T2 AY 2014-2015