Updated docs with more details & SQL