adding the sent view
sql