SQL for Data Analysis – An Introduction for beginners

Home/SQL/SQL for Data Analysis – An Introduction for beginners

SQL plays an important role in data analysis. When we are analyzing more number of records, we summarize the data and then analyse it. We do lot of ETL tasks to extract the data from data base and clean and format the data. Once we are created a clean data set, we go for analyzing the data to get more insights from the data.



50+ Project Management Templates Pack
Excel PowerPoint Word

Advanced Project Plan & Portfolio Template
Excel Template

Business Presentations Templates Pack
PowerPoint Slides

20+ Excel Project Management Pack
Excel Templates

20+ PowerPoint Project Management Pack
PowerPoint Templates

10+ MS Word Project Management Pack
Word Templates

What is SQL?

SQL stands for Structured Query Language which is a computer language for storing, manipulating and retrieving data stored in relational database. SQL is the standard language for Relation Database System. All relational database management systems like MySQL, MS Access, SQL Server, Oracle, Sybase, Informix, DB2 and other database systems uses SQL as standard database language.

Also they are using different dialects, Such as:

  • MS SQL Server using T-SQL
  • Oracle using PL/SQL
  • MS Access version of SQL is called JET SQL (native format ), etc…

However, they all support at least the major commands (like SELECT, UPDATE, DELETE, INSERT, WHERE) to be compliant with the ANSI standard.

Why SQL?

  • Allow users to access data in relational database management systems
  • Allow users to describe the data
  • Allow users to define the data in database and manipulate that data. For example, inserting records,updating or deleting records
  • Allow users to create and drop databases and tables
  • Allow users to create view, stored procedure, functions in a database
  • Allow users to set permissions on tables, procedures, and views
  • Basics of Database:
    RDBMS stands for Relational Database Management System. A Relational database management system (RDBMS) is a database management system (DBMS).
  • SQL Statements:
    SQL use the term query as the name for its commands. Basically, all SQL code is written in the form of a query statement and then executed against a database.
  • SQL Arithmetic Operators:
    Arithmetic Operators, Comparison Operators, Logical Operators and Wildcard Operators helps Analysts while extracting and summarizing the data for analysis.
  • SQL Commands(dml, ddl, dcl, tcl) for Data Analysis:
    SQL Commands(dml, ddl, dcl, tcl) help Analyst to create database,tables, views, update data. Also help to fetch the data and summarize to perform analysis.
  • SQL Functions for Data Analysis:
    SQL functions help to aggregate the data while extracting the data from Data base. There are many functions available in SQL to aggregate the data.
  • Sorting and Grouping in SQL or ORDER BY and GROUP BY Clauses:
    We can sort and group the data based on certain variables/ columns and understand the data., we use Order By, Group by helps to Sort and Ggroup data in SQL.
By |December 20th, 2012|SQL|0 Comments

About the Author:

PNRao is a passionate business analyst and having close to 10 years of experience in Data Mining, Data Analysis and Application Development. This blog is his passion to learn new skills and share his knowledge to make you expertise in Data Analysis (Excel, VBA, SQL, SAS, Statistical Methods, Market Research Methodologies and Data Analysis Techniques).

Leave A Comment

Related pages

sumif function excel 2010excel userform combobox listvba listbox additemexcel remove macrosproject progress report template excelexcel if cell containsremove blank rowexcel vba listobjectscase statement vba accessinteger in vbahow to insert multiple rows in excel 2007password protect excel 2010 spreadsheetexcel vba loop through rangehow to find duplicate records in excelexcel sumif function exampleexcel macros tutorial pdfvba check if folder existscharttitledashboard samples in excelexcel highlight columnvba connect to oraclecopy paste macro excelhow to unlock an excel spreadsheetmsgbox excel vbaremoving duplicates in excel 2007vba combobox codeuserform option buttondevelopers tab in excelproject planning spreadsheetexcel copy row to another sheetpower pivot tutorialsunhide all rows in excel 2010excel automatic color codingexcel if cell contains stringspotfire basicssql basic commands with examplesvba code analyzervb6 open text fileexcel macro to merge cellsbasics of testing interview questions and answersvba excel range selectprint macro excelvba paste valueexcel spreadsheet examples templateshlookup function in excel 2010unhide columns excelexcel chart titlesexcel vba worksheet changeremove empty cells in excelexport recordset to excelremove header in excelexcel macro file extensionpivot table examples excel 2010linking excel cellshow to insert tick mark in excel 2007unlock vba projectcommands in dbmscombine data from multiple worksheetsdcl commands in sql with examplesmicrosoft word meeting notes templatenested if statement in excel 2010visual basic macros tutorialgetusername vbavba refresh all pivot tablesinterview questions for freshers pdfexcel vba cells offsetunprotect excel 2010 workbook without passwordexcel formulas concatenatebest excel vba bookexcel vba add hyperlink to cellfreshers technical interview questions and answersexcel master worksheetvba record macrodelete rows in excel vbaexcel import data from another worksheetselect cell macroexcel formulas made easysimple dashboard in excel