Good News Students! Become a Spellogram Contributor and Earn Money.Click Here To Know More!

An Easy Story to Learn The Difference between NoSQL and SQL

0 votes
515 views
asked May 8, 2015 by nanospeck (4,240 points)
reshown May 27, 2015 by nanospeck
Is there a cool hack to remember difference between NoSQL and SQL?

1 Answer

0 votes
answered May 8, 2015 by nanospeck (4,240 points)

NoSQL databases store information like you would recipes in a book. When you want to know how to make a cake, you go to that recipe, and all of the information about how to make that cake (ingredients, preparation, mixing, baking, finishing, etc.) are all on that one page.

SQL is like shopping for the ingredients for the recipe. In order to get all of your ingredients into your cart, you have to go to many different aisles to get each ingredient. When you are done shopping, your grocery cart will be full of all the ingredients you had to run around and collect.

Wouldn’t it be nicer if there was a store was organized by recipe, so you could go to one place in the store and grab everything you need from that one spot? Granted you’ll find ingredients like eggs in 50 different places, so there’s a bit of overhead when stocking the shelves, but from a consumer standpoint it was much easier/faster to find what they were looking for.

mgoffin/Stack Overflow

Do you have Mnemonics?

Submit your Mnemonics to Win Cash Prizes!


*Deadline: 15th March 2017
...