added selectAppointmentInfo method in DBConnection and updated tables in db.sql