enter and view data
added sql