Curatal Interview Question

Mean stack question and SQL