Get 50% Discount on Our Udemy Course to Memorize the Periodic Table in 30 minutes Click Here. COUPON CODE: ALCHEMY

An Easy Story to Learn The Difference between NoSQL and SQL

0 votes
asked May 8, 2015 by nanospeck (6,920 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 (6,920 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

Related questions

0 votes
1 answer 2,157 views
0 votes
1 answer 9,403 views