add code formatting
update sample
update readme.md with sql view