NextRoll interview question

CoderPad tech screen consisted of four SQL problems.