Random Sampling Protocol (50) out of a P of (244) for analysis

How might I go about randomly sampling 50 records out of a population of 244 for analysis?Is there .js that supports this action?
Sign Inor Registerto comment.