SQL is a relational database while NoSQL is non-relational and document-based database. SQL stores the data as entity as tables while NoSQL stores the data as documents.