Intellier interview question

Asked one graph question. CRUD operation using node js. write some query MySQL and Mongodb.