NoSQL Zone is brought to you in partnership with:

Alec is a Content Curator at DZone and lives in Raleigh, North Carolina. He is interested in Java and Android programming, and databases of all types. When he's not writing for the NoSQL and IoT Zones, you might find him playing bass guitar, writing short stories where nothing happens, or making stuff in Java. Alec is a DZone Zone Leader and has posted 543 posts at DZone. You can read more from them at their website. View Full User Profile

How to Use Relational Databases and SQL to Understand MongoDB

02.18.2014
| 3544 views |
  • submit to reddit

Developers familiar with relational databases and SQL but interested in moving into the NoSQL world - MongoDB, in particular - might find this recent article from Ashish Trivedi at Tuts+ to be helpful. It explores the structure and use of MongoDB in terms of relational databases, making comparisons and pointing out similarities in order to draw on existing RDBMS knowledge. For example, Trivedi makes the following connections:

  • RDBMS tables map to MongoDB collections
  • RDBMS rows map to MongoDB documents
  • RDBMS columns map to MongoDB fields
  • RDBMS relationships map to linking and embedding documents in MongoDB

Trivedi goes on to compare SQL queries to MongoDB queries, presenting code samples of things like SELECT and UPDATE statements side-by-side with their MongoDB equivalents. Overall, it's a relatively basic look at both SQL and MongoDB - mostly a way to get started with something entirely new - but well-organized and very helpful in its reliance upon more common RDBMS knowledge to understand MongoDB. Check out the full article for more details.

Comments

Bmnasim Reza replied on Thu, 2014/02/20 - 3:21am

iPhone-5s Free Shipping with Fedex  

http://www.freeiphone5snow.com/

Get your own iPhone 5s in under 2 minutes! A Free iPhone 5s plus other Free Offers. No catch! Free Shipping with Fedex No Purchase Necessary.


Bmnasim Reza replied on Thu, 2014/02/20 - 3:21am

<p>
	<span style="font-size: 1.8em"><span style="color: #180cf2;">Get your own iPhone 5s in under 2 minutes! A Free iPhone 5s plus other Free Offers. No catch! Free Shipping with Fedex No Purchase Necessary</span></span> <span style="font-size:1.4em;"><b><span style="font-family:calibri,sans-serif;"><span style="color:#e30035;">                                             </span><a href="http://www.freeiphone5snow.com/"><span style="color:#fa0707;">http://www.freeiphone5snow.com</span></a></span></b></span> <a href="http://www.freeiphone5snow.com/" target="_blank"><img alt="Iphone-5s" height="836" src="http://ic.pics.livejournal.com/bbmnasimreza/67517356/6561/6561_1000.png" title="Iphone-5s" width="1000" /></a></p>

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.