added some documentation
sql