{"id":1864,"date":"2019-08-05T02:26:25","date_gmt":"2019-08-05T02:26:25","guid":{"rendered":"http:\/\/kusuaks7\/?p=1469"},"modified":"2024-07-19T15:16:21","modified_gmt":"2024-07-19T15:16:21","slug":"is-sql-needed-to-be-a-data-scientist","status":"publish","type":"post","link":"https:\/\/www.experfy.com\/blog\/bigdata-cloud\/is-sql-needed-to-be-a-data-scientist\/","title":{"rendered":"Is SQL needed to be a data scientist?"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1864\" class=\"elementor elementor-1864\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"has_eae_slider elementor-section elementor-top-section elementor-element elementor-element-4df683dc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4df683dc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"has_eae_slider elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7615df26\" data-id=\"7615df26\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3c2b6277 elementor-widget elementor-widget-text-editor\" data-id=\"3c2b6277\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tThe short answer is yes. As long as there is \u2018data\u2019 in data scientist, Structured Query Language (or see-quel as we call it) will remain an important part of it. In this blog, let us explore data science and its relationship with SQL, including answers to the 5 Ws and 1 H \u2013 how, why, where, when, who and what. We will also learn the basics of Database Management Systems (DBMS) and understand how being a data scientist could be the best choice for your career.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ee6d548 elementor-widget elementor-widget-heading\" data-id=\"ee6d548\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>What is data science?<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c0f6925 elementor-widget elementor-widget-text-editor\" data-id=\"c0f6925\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tData science is broad in its perspective and a\u00a0<a href=\"https:\/\/hackr.io\/blog\/how-to-become-a-data-scientist\" target=\"_blank\" rel=\"noopener noreferrer\">data scientist<\/a>\u00a0requires deep knowledge of one or more of the various streams of mathematics, machine learning, computer science, statistical research, data processing and of course domain expertise. Each of these streams needs extensive work with data, be it collection, analysis or processing. If you are preparing for a data science interview, go through these essential\u00a0<a href=\"https:\/\/hackr.io\/blog\/data-science-interview-questions\" target=\"_blank\" rel=\"noopener noreferrer\">data science interview questions.<\/a>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-450b7ed elementor-widget elementor-widget-heading\" data-id=\"450b7ed\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>Why is data science so popular?<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9483802 elementor-widget elementor-widget-text-editor\" data-id=\"9483802\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tThe digital world is at its peak, and with growing demands and extensive marketing strategies data has become the key to all marketing purposes. For example, if I want to buy a new phone, I go to online shops like Amazon or Flipkart, browse through different brands, put a few in my cart, but decide to buy it later after some more research. Internally, the online shop would save my shopping cart and browsing history and show me suggestions for more phones when I come back later. Even if I don\u2019t buy, the company would send me emails to remind me that my shopping cart is &#8220;still waiting for me.&#8221; Data, thus plays the most important role in creating a relationship between buyer and seller. The more data customer shells out, the more customized a stream is presented to the buyer. This is not just true for e-commerce, but data science is proving extremely useful in many other domains like healthcare, manufacturing, banking, finance and transport.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d767220 elementor-widget elementor-widget-heading\" data-id=\"d767220\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>How?<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ab1887d elementor-widget elementor-widget-text-editor\" data-id=\"ab1887d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<strong>Collection<\/strong>\u00a0\u2013 Suppose you are at IKEA and checking out a fitted sheet. You buy the product and leave. Later you realize you want more of the same product and come back. You tell your friends how useful and inexpensive the product is and they are convinced to buy it too. Manufacturers use this data to understand the likes of customers and update their inventory to have more of the products that are popular. Further, constant feedback helps them bring improvements to their existing product.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d077895 elementor-widget elementor-widget-text-editor\" data-id=\"d077895\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<strong>Processing<\/strong>\u00a0\u2013 The data from users is collected, and during the modelling and planning stage actionable insights are taken into account. For example, more customers looking for a particular colored fitted sheet or a specific cloth for their curtains.\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-726e961 elementor-widget elementor-widget-text-editor\" data-id=\"726e961\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<strong>Analysis<\/strong>\u00a0\u2013 Imagine you bought a blue color fitted sheet, but realize for your room&#8217;s ambiance that green would be a better choice, which is not available currently. Green is a common, popular color. With the analysis of human inputs and data management tools, it can be determined whether or not introducing a green fitted sheet would be a good idea, if it will serve the purpose of more customers, and bring more profit.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6f7bbd9 elementor-widget elementor-widget-text-editor\" data-id=\"6f7bbd9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tFor demand forecasting and inventory management, we need to store all the user information including their purchases, likes and dislikes, feedback, etc. somewhere.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1567421 elementor-widget elementor-widget-heading\" data-id=\"1567421\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><strong>Where?<\/strong><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c6b5e4 elementor-widget elementor-widget-text-editor\" data-id=\"5c6b5e4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tYes, you got it \u2013 everything is stored in a database. SQL is thus vital for handling humongous amounts of data that need to be processed on a regular basis. It also acts as an important tool for the right marketing and feedback that data science intends to do. For example, if you don\u2019t like a video that Facebook is suggesting you \u2013 you would say \u2018hide this\u2019 and Facebook will immediately ask you for a reason. These user preferences also need to be stored somewhere.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-88a0db8 elementor-widget elementor-widget-text-editor\" data-id=\"88a0db8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tThrough a relational database like SQL, data science provides a continuous system to process and improve the way data is presented and handled.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-643a696 elementor-widget elementor-widget-heading\" data-id=\"643a696\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>Where does SQL fit in?<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9277dcc elementor-widget elementor-widget-text-editor\" data-id=\"9277dcc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tSQL is an important part of the entire data science universe. But, where exactly does it fit in? If you want to be a data analyst, data engineer or data architect, you will need to\u00a0learn SQL\u00a0along with programming languages like C, R and Python. Here is a simple diagram that shows the stages where SQL is used:\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ea76b94 elementor-widget elementor-widget-image\" data-id=\"ea76b94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.kdnuggets.com\/wp-content\/uploads\/sql-needed-1.png\" alt=\"\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-de4dd3e elementor-widget elementor-widget-text-editor\" data-id=\"de4dd3e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\">For original image source, click\u00a0<a href=\"https:\/\/dimensionless.in\/understanding-different-components-roles-in-data-science\/\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"broken_link\">here<\/a>.<\/p>\nThe highlighted portion is where we need SQL knowledge: big data, big data analytics and data analysis.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-38f3416 elementor-widget elementor-widget-heading\" data-id=\"38f3416\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>Why SQL?<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-57258b6 elementor-widget elementor-widget-text-editor\" data-id=\"57258b6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tThough there are\u00a0<a href=\"https:\/\/hackr.io\/blog\/nosql-vs-sql\" target=\"_blank\" rel=\"noopener noreferrer\">NoSQL<\/a>\u00a0databases that offer high performance and speed, SQL databases are still most widely used for all practical purposes. There are more developers who understand SQL technology and hence the support and documentation are more plentiful. Further, data integrity is one key factor that makes SQL stand apart from any NoSQL database, by way of the assurance that no duplicates or unauthorized data can enter the system. Also, for complex queries and joins, a well-structured relational database works better.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ba7ad3a elementor-widget elementor-widget-heading\" data-id=\"ba7ad3a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>What is SQL?<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-da53179 elementor-widget elementor-widget-text-editor\" data-id=\"da53179\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tSQL is a relational database management system used for storing, retrieving, updating and reading data from the database. If you get introduced to SQL from the basics through\u00a0<a href=\"https:\/\/hackr.io\/tutorial\/sql-for-newbies-data-analysis-for-beginners\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"broken_link\">this beautifully designed course<\/a>, you will love SQL for life.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0cbcf6a elementor-widget elementor-widget-text-editor\" data-id=\"0cbcf6a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\nFor this blog, we will concentrate on how SQL matters to data science. Let us take a simple example of how you as a data scientist could possibly use SQL to collect and analyze data.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-658afb6 elementor-widget elementor-widget-text-editor\" data-id=\"658afb6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tSuppose you want to know the popularity of a book named \u2018The Data Science Handbook\u2019 by the author \u2018Carl Shan\u2019 by checking how many users ordered a copy of it. Because SQL is a well-structured language with a proper schema, you could have a structure like this:\n<ul>\n \t<li><code>customer table \u2013 customer_id, customer_name, order_id, etc.<\/code><\/li>\n \t<li><code>order_details table \u2013 order_id, order_desc, order_date, etc.<\/code><\/li>\n \t<li><code>book table \u2013 book_id, book_name, author, order_id, etc.<\/code><\/li>\n<\/ul>\nTo get this data, we need to\u00a0<i>join<\/i>\u00a0the three tables, using some common columns or keys. In this case,\u00a0<code>order_id<\/code>\u00a0is common to all the three tables and using this data, we can write a query to fetch the necessary details.\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7cddfc2 elementor-widget elementor-widget-text-editor\" data-id=\"7cddfc2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tIn real-life scenarios, this kind of system can be at multiple levels, where huge data needs to be analyzed and worked upon. Everyday data from millions of users is stored and analyzed for various purposes.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3395fe5 elementor-widget elementor-widget-text-editor\" data-id=\"3395fe5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tImagine doing all this without the use of SQL; is it even thinkable?\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f4da5f7 elementor-widget elementor-widget-text-editor\" data-id=\"f4da5f7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tWhile some people want to believe that SQL\u2019s role in a data scientist\u2019s job is reducing, that is not the case. SQL is here to stay.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e409e84 elementor-widget elementor-widget-text-editor\" data-id=\"e409e84\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tHere are some key SQL concepts that a data scientist should know:\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-25114a6 elementor-widget elementor-widget-heading\" data-id=\"25114a6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><strong>Relational database model<\/strong><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e94ef89 elementor-widget elementor-widget-text-editor\" data-id=\"e94ef89\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tIn a relational database model, all the data points are related or connected to each other. While creating this kind of database, the relationships between various tables and columns has to be defined in the design stage itself. In our above example, the three tables are related. The customer table\u2019s\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Primary_key\" target=\"_blank\" rel=\"noopener noreferrer\">primary key<\/a>\u00a0(&#8220;a specific choice of a minimal set of attributes (columns) that uniquely specify a tuple (row) in a relation (table)&#8221;) will be\u00a0<code>customer_id<\/code>, whereas\u00a0<code>order_id<\/code>\u00a0will be a\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Foreign_key\" target=\"_blank\" rel=\"noopener noreferrer\">foreign key<\/a>\u00a0(&#8220;set of attributes subject to a certain kind of inclusion dependency constraint, specifically a constraint that the tuples consisting of the foreign key attributes in one relation, R, must also exist in some other (not necessarily distinct) relation, S&#8221;). In the same way, the\u00a0<code>book_id<\/code>\u00a0and\u00a0<code>order_id<\/code>\u00a0combined can be the composite key for book table. These relations have to be defined during the creation stage itself.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9a401dd elementor-widget elementor-widget-heading\" data-id=\"9a401dd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><strong>DBMS Normalization<\/strong><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e1b6669 elementor-widget elementor-widget-text-editor\" data-id=\"e1b6669\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tNormalization is the design process where tables in the database are organized in such a way to avoid redundancy and dependency of the data. Using normalization of different forms, we can divide data into smaller structures and establish links between them so that the data is optimally stored.\u00a0<a href=\"https:\/\/hackr.io\/blog\/dbms-normalization\" target=\"_blank\" rel=\"noopener noreferrer\">This nice article<\/a>\u00a0presents information about normalization in a very simple and understandable manner.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9e89c1c elementor-widget elementor-widget-heading\" data-id=\"9e89c1c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><strong>Database schema<\/strong><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c875656 elementor-widget elementor-widget-text-editor\" data-id=\"c875656\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tDatabase schema is the logical view of a database. All the relations like constraints, tables, views, triggers etc. that are applied on the data form the schema.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-919f638 elementor-widget elementor-widget-heading\" data-id=\"919f638\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><strong>Basic SQL commands<\/strong><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5670f90 elementor-widget elementor-widget-text-editor\" data-id=\"5670f90\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tSQL can execute the following types of statements:\n<ul>\n \t<li>DML (Data Manipulation Language) statements \u2013\u00a0<code>select, insert, delete, update<\/code><\/li>\n \t<li>DDL (Data Definition Language) Statements \u2013\u00a0<code>create, drop, alter<\/code><\/li>\n \t<li>DCL (Data Control Language) Statements \u2013\u00a0<code>grant, revoke<\/code><\/li>\n \t<li>TCL (Transaction Control Language) Statements \u2013\u00a0<code>begin, commit, rollback<\/code><\/li>\n<\/ul>\nCheck out this distilled list of\u00a0<a href=\"https:\/\/hackr.io\/blog\/top-sql-interview-questions\" target=\"_blank\" rel=\"noopener noreferrer\">SQL interview questions<\/a>\u00a0that can help you brush through the concepts quickly.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-91e15f6 elementor-widget elementor-widget-heading\" data-id=\"91e15f6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>Who should learn SQL?<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-414da88 elementor-widget elementor-widget-text-editor\" data-id=\"414da88\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tBy now, you should understand that if you are crazy about data and playing with it, and want Data Science as your career choice, you should definitely learn SQL.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f0eb364 elementor-widget elementor-widget-heading\" data-id=\"f0eb364\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><h2><b>Data scientist as a career choice<\/b><\/h2><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-06de796 elementor-widget elementor-widget-text-editor\" data-id=\"06de796\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tLoads of data is generated every day and needs to be converted into new business solutions, designs, and products which can only come from the creative mind of a data scientist. This need will only increase by the day at least for a few decades. In addition to the fat package that the industry offers to a data scientist, it is the challenge and ever-growing roles that attract professionals towards this job. From data administrator, data architect, data analyst, business analyst to a data manager or business intelligence manager, there are plenty of opportunities to choose within the data science circle. Knowledge of SQL, programming languages like R and Python, statistics and applied math, paired with critical thinking and industry knowledge will get you there sooner than you would think.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8768a0e elementor-widget elementor-widget-text-editor\" data-id=\"8768a0e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\tThis article has originally appeared in <a href=\"https:\/\/www.kdnuggets.com\/2019\/07\/sql-needed-data-scientist.html\" rel=\"noopener\">KDnuggets<\/a>.\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>SQL is a relational database management system used for storing, retrieving, updating and reading data from the database. As long as there is &lsquo;data&rsquo; in data scientist, Structured Query Language, or see-quel, as we call it will remain an important part of it. You should understand that if you are crazy about data and playing with it, and want Data Science as your career choice, you should definitely learn SQL. Let us explore data science and its relationship with SQL.<\/p>\n","protected":false},"author":609,"featured_media":3521,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[187],"tags":[94],"ppma_author":[3317],"class_list":["post-1864","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bigdata-cloud","tag-data-science"],"authors":[{"term_id":3317,"user_id":609,"is_guest":0,"slug":"saurabh-hooda","display_name":"Saurabh Hooda","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","user_url":"","last_name":"Hooda","first_name":"Saurabh","job_title":"","description":"Saurabh Hooda is Co-Founder at Hackr.io."}],"_links":{"self":[{"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/posts\/1864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/users\/609"}],"replies":[{"embeddable":true,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/comments?post=1864"}],"version-history":[{"count":8,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/posts\/1864\/revisions"}],"predecessor-version":[{"id":36911,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/posts\/1864\/revisions\/36911"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/media\/3521"}],"wp:attachment":[{"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/media?parent=1864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/categories?post=1864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/tags?post=1864"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.experfy.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=1864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}