CentraLogic Interview Question

2 string questions and some basic sql queries