CodeNewbie Community


Discussion on: What's the difference between a SQL and a NoSQL database?

adiatiayu profile image
Ayu Adiati

SQL is a relational database. It's fixed and structured. We can see it as a table, with the relations between rows and columns.
And all data in the table has to be filled in, even with n/a when there is no data.

While No-SQL is an unstructured database.
For example, you are a user of CodeNewbie. You may fill all your biodata, or leave some blank. You may post a blog or leave comments, but it's also okay if you don't.
No-SQL is flexible to leave some data out.

For more explanation, you can go to MongoDB website, and read the difference between SQL and No-SQL and the No-SQL explanation :)