23andMe Interview Question

Q: How to write a certain code to query and organize a data set?