table name paremeter added to the get result to allow perform query on different table