iDeaLogic interview question

I want to do this stuff. design a DB SQL server