{"id":1696,"date":"2020-06-08T05:38:18","date_gmt":"2020-06-08T12:38:18","guid":{"rendered":"https:\/\/renanmf.com\/?p=1696"},"modified":"2020-12-29T10:22:03","modified_gmt":"2020-12-29T13:22:03","slug":"introduction-to-sql","status":"publish","type":"post","link":"https:\/\/renanmf.com\/introduction-to-sql\/","title":{"rendered":"Introduction to SQL"},"content":{"rendered":"<p>It doesn&#8217;t matter if you are a frontend, backend, or a full stack developer, knowing SQL is a must have skill.<\/p>\n<h2>What is SQL and why you should learn it<\/h2>\n<p>SQL stands for Structured Query Language.<\/p>\n<p>It is pronounced <em>SEQUEL<\/em>.<\/p>\n<p>SQL is a language designed to handle databases.<\/p>\n<p>It allows you to manage and access data in a relational database using a standard approach.<\/p>\n<p>Relational Database Management Systems or simply RDMS are the industry standard for storing data.<\/p>\n<p>RDMS store data in tables, much like the ones you make in your Excel spreadsheets with columns and rows, each column is called a field and each row is a data entry called a record.<\/p>\n<p>Some of the most common RDMS are PostgreSQL, MySQL, Oracle, and SQL Sever.<\/p>\n<p>There are also NoSQL Databases like Mongo that store data in different ways such as documents, they are growing in use year after year, but are still far from becoming as widely used as relational ones.<\/p>\n<h2>SQL Usage<\/h2>\n<p>SQL is used in a variety of ways to manage your application&#8217;s data, such as to:<\/p>\n<ul>\n<li>Retrieve, Update, Insert and Delete data<\/li>\n<li>Create and Delete databases and tables<\/li>\n<li>Manage permissions to certain data, so some users can access it and others don&#8217;t<\/li>\n<li>Guarantee the integrity of the data<\/li>\n<li>Automate actions in the database according to some change in the data<\/li>\n<\/ul>\n<h2>SQL Dialects<\/h2>\n<p>Be aware that there are some variations of SQL depending on the RDMS you are using that make SQL even more powerful for those specific systems.<\/p>\n<p>After learning the standard SQL, it is common for some people to specialize in a particular RDMS and its specific dialect like Oracle&#8217;s PL\/SQL or PostgreSQL&#8217;s PL\/pgSQL.<\/p>\n<p>It is also common to see people referring to standard SQL as ANSI SQL to differentiate it from the specific dialects.<\/p>\n<p>ANSI stands for American National Standards Institute, the institute standardized SQL in 1986.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It doesn&#8217;t matter if you are a frontend, backend, or a full stack developer, knowing SQL is a must have skill. What is SQL and why you should learn it SQL stands for Structured Query Language. It is pronounced SEQUEL. SQL is a language designed to handle databases. It allows you to manage and access [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1707,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,28],"tags":[29],"class_list":["post-1696","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database","category-sql","tag-sql"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Introduction to SQL<\/title>\n<meta name=\"description\" content=\"Learno what is SQL and why you should learn it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/renanmf.com\/introduction-to-sql\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to SQL\" \/>\n<meta property=\"og:description\" content=\"Learno what is SQL and why you should learn it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/renanmf.com\/introduction-to-sql\/\" \/>\n<meta property=\"og:site_name\" content=\"Renan Moura - Software Engineering\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/renanmouraf\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-08T12:38:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-29T13:22:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/05\/f-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Renan Moura\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/renanmouraf\" \/>\n<meta name=\"twitter:site\" content=\"@renanmouraf\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Renan Moura\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/\"},\"author\":{\"name\":\"Renan Moura\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/person\\\/1a6fd46256318d200c1c8a867448e5a8\"},\"headline\":\"Introduction to SQL\",\"datePublished\":\"2020-06-08T12:38:18+00:00\",\"dateModified\":\"2020-12-29T13:22:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/\"},\"wordCount\":322,\"publisher\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/f-1.png\",\"keywords\":[\"sql\"],\"articleSection\":[\"Database\",\"SQL\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/\",\"url\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/\",\"name\":\"Introduction to SQL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/f-1.png\",\"datePublished\":\"2020-06-08T12:38:18+00:00\",\"dateModified\":\"2020-12-29T13:22:03+00:00\",\"description\":\"Learno what is SQL and why you should learn it.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/#primaryimage\",\"url\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/f-1.png\",\"contentUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/f-1.png\",\"width\":1200,\"height\":630,\"caption\":\"intro to SQL\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/introduction-to-sql\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/renanmf.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction to SQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#website\",\"url\":\"https:\\\/\\\/renanmf.com\\\/\",\"name\":\"Renan Moura - Software Engineering\",\"description\":\"Software development, machine learning\",\"publisher\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/renanmf.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#organization\",\"name\":\"Renan Moura\",\"url\":\"https:\\\/\\\/renanmf.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/me-e1583179172701.jpeg\",\"contentUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/me-e1583179172701.jpeg\",\"width\":120,\"height\":120,\"caption\":\"Renan Moura\"},\"image\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/renanmouraf\",\"https:\\\/\\\/x.com\\\/renanmouraf\",\"https:\\\/\\\/instagram.com\\\/renanmouraf\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/renanmouraf\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/person\\\/1a6fd46256318d200c1c8a867448e5a8\",\"name\":\"Renan Moura\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g\",\"caption\":\"Renan Moura\"},\"description\":\"I'm a Software Engineer working in the industry for a decade now. I like to solve problems with as little code as possible. I\u2019m interested in solving all sorts of problems with technology in creative and innovative ways. From everyday shell scripts to machine learning models. I write about Software Development, Machine Learning, and Career in tech.\",\"sameAs\":[\"https:\\\/\\\/renanmf.com\\\/\",\"https:\\\/\\\/www.instagram.com\\\/renanmouraf\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/renanmouraf\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/renanmouraf\"],\"url\":\"https:\\\/\\\/renanmf.com\\\/author\\\/renanmoura\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introduction to SQL","description":"Learno what is SQL and why you should learn it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/renanmf.com\/introduction-to-sql\/","og_locale":"en_US","og_type":"article","og_title":"Introduction to SQL","og_description":"Learno what is SQL and why you should learn it.","og_url":"https:\/\/renanmf.com\/introduction-to-sql\/","og_site_name":"Renan Moura - Software Engineering","article_publisher":"https:\/\/www.facebook.com\/renanmouraf","article_published_time":"2020-06-08T12:38:18+00:00","article_modified_time":"2020-12-29T13:22:03+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/05\/f-1.png","type":"image\/png"}],"author":"Renan Moura","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/renanmouraf","twitter_site":"@renanmouraf","twitter_misc":{"Written by":"Renan Moura","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/renanmf.com\/introduction-to-sql\/#article","isPartOf":{"@id":"https:\/\/renanmf.com\/introduction-to-sql\/"},"author":{"name":"Renan Moura","@id":"https:\/\/renanmf.com\/#\/schema\/person\/1a6fd46256318d200c1c8a867448e5a8"},"headline":"Introduction to SQL","datePublished":"2020-06-08T12:38:18+00:00","dateModified":"2020-12-29T13:22:03+00:00","mainEntityOfPage":{"@id":"https:\/\/renanmf.com\/introduction-to-sql\/"},"wordCount":322,"publisher":{"@id":"https:\/\/renanmf.com\/#organization"},"image":{"@id":"https:\/\/renanmf.com\/introduction-to-sql\/#primaryimage"},"thumbnailUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/05\/f-1.png","keywords":["sql"],"articleSection":["Database","SQL"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/renanmf.com\/introduction-to-sql\/","url":"https:\/\/renanmf.com\/introduction-to-sql\/","name":"Introduction to SQL","isPartOf":{"@id":"https:\/\/renanmf.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/renanmf.com\/introduction-to-sql\/#primaryimage"},"image":{"@id":"https:\/\/renanmf.com\/introduction-to-sql\/#primaryimage"},"thumbnailUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/05\/f-1.png","datePublished":"2020-06-08T12:38:18+00:00","dateModified":"2020-12-29T13:22:03+00:00","description":"Learno what is SQL and why you should learn it.","breadcrumb":{"@id":"https:\/\/renanmf.com\/introduction-to-sql\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/renanmf.com\/introduction-to-sql\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/renanmf.com\/introduction-to-sql\/#primaryimage","url":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/05\/f-1.png","contentUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/05\/f-1.png","width":1200,"height":630,"caption":"intro to SQL"},{"@type":"BreadcrumbList","@id":"https:\/\/renanmf.com\/introduction-to-sql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/renanmf.com\/"},{"@type":"ListItem","position":2,"name":"Introduction to SQL"}]},{"@type":"WebSite","@id":"https:\/\/renanmf.com\/#website","url":"https:\/\/renanmf.com\/","name":"Renan Moura - Software Engineering","description":"Software development, machine learning","publisher":{"@id":"https:\/\/renanmf.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/renanmf.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/renanmf.com\/#organization","name":"Renan Moura","url":"https:\/\/renanmf.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/renanmf.com\/#\/schema\/logo\/image\/","url":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/03\/me-e1583179172701.jpeg","contentUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/03\/me-e1583179172701.jpeg","width":120,"height":120,"caption":"Renan Moura"},"image":{"@id":"https:\/\/renanmf.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/renanmouraf","https:\/\/x.com\/renanmouraf","https:\/\/instagram.com\/renanmouraf","https:\/\/www.linkedin.com\/in\/renanmouraf\/"]},{"@type":"Person","@id":"https:\/\/renanmf.com\/#\/schema\/person\/1a6fd46256318d200c1c8a867448e5a8","name":"Renan Moura","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g","caption":"Renan Moura"},"description":"I'm a Software Engineer working in the industry for a decade now. I like to solve problems with as little code as possible. I\u2019m interested in solving all sorts of problems with technology in creative and innovative ways. From everyday shell scripts to machine learning models. I write about Software Development, Machine Learning, and Career in tech.","sameAs":["https:\/\/renanmf.com\/","https:\/\/www.instagram.com\/renanmouraf\/","https:\/\/www.linkedin.com\/in\/renanmouraf\/","https:\/\/x.com\/https:\/\/twitter.com\/renanmouraf"],"url":"https:\/\/renanmf.com\/author\/renanmoura\/"}]}},"_links":{"self":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts\/1696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/comments?post=1696"}],"version-history":[{"count":27,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts\/1696\/revisions"}],"predecessor-version":[{"id":2595,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts\/1696\/revisions\/2595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/media\/1707"}],"wp:attachment":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/media?parent=1696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/categories?post=1696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/tags?post=1696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}