printtables function done,tested
sqlQuey is finished, printing tables very nicely