Infosys interview question

Difference between mongodb and sql