Netflix interview question

Q: Write a method in Python to return the confidence intervals around a mean? Q: Using SQL return the number of new netflix members in the last 7 days