Luciq interview question

doing some CURD with database