SQL and Pig Latin practices