Posts

Showing posts with the label sql

SQL Joins

Image
Are you aware of the fundamentals of a Set theory which entails a critical element for our database i.e. the concept of joins? Why do we need Joins in the database? Joins are the fundamental element if you want to combine various tables using a common or related column between them. Joins are mainly used in every analytical and business intelligence tool.  Let's take a deep dive into the fundamentals of joins which is apparent by using a Venn diagram. There are mainly four types of joins- Inner, Left, Right, and Full outer join. Let's suppose we have two datasets A and B. When we focus on inner join it basically means the focus will be on the intersection or common columns present in both datasets. Similarly, the left join focuses on the dataset that is available in A and the common columns between both data sets. Right join is quite identical to left join but the main difference is it takes the data from B along with the common columns present between both data sets. Lastly, f...

SQL v/s SQLite

Image
  Source SQL (Structured Query Language) plays a pivotal role in data analysis. The main purpose to create SQL is to help in managing data stored in Relational Database Management System (RDBMS). In elementary terms, it is the language that is used to interact with the database. You must be aware of the RDBMS which uses SQL extensively such as Microsoft SQL Server, Access, Oracle. SQL and SQL lite both follow the RDBMS model. Let's check out where these two differ. So let's understand what is SQLite ? SQLite act as a library for software. As compared to SQL it does not require any server to function. Generally, RDBMS requires a server to function. SQLite functions by combining the database to the application. The application help in interacting with the database. There is this term " self-contained " which is associated with SQLite which means it can operate on its own without the support of the operating system. This feature is the highlight of SQLite and makes it av...