Updated help file for setSQL and subsetSQL

in particular, fixed the example code.