{"id":20702,"date":"2021-01-11T04:43:53","date_gmt":"2021-01-11T12:43:53","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=20702"},"modified":"2023-12-01T04:07:57","modified_gmt":"2023-12-01T12:07:57","slug":"sql-in","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/sql-in\/","title":{"rendered":"SQL IN: A Beginner\u2019s Guide"},"content":{"rendered":"\n<p><em>The SQL IN keyword lets you select values that appear in a range of values. You can specify a query inside an IN statement to search for records whose column has a value in the result of a query. The IN keyword appears after a WHERE statement.<\/em><\/p>\n\n\n\n<p>You can retrieve records whose values are equal to one of multiple possible values from a database using OR conditions. If you\u2019re looking to compare a column to a long list of values, specifying multiple OR conditions can make your query messy.<\/p>\n\n\n\n<p>There\u2019s another option: the <a href=\"https:\/\/careerkarma.com\/blog\/how-long-is-to-learn-sql\/\">SQL<\/a> IN operator. In this guide, we\u2019re going to talk about what the SQL IN operator is and how it works. We\u2019ll walk through a few examples of this operator in action so that you can learn how to use it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the SQL IN Operator?<\/h2>\n\n\n\n<p>The SQL IN operator checks whether a value exists in a set of values. The set of values can either be comma-separated or a query. If you specify a query, that query will execute. Its results will be compared with the column you have stated in the WHERE statement.<\/p>\n\n\n\n<p>The syntax for the SQL IN operator is:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT column1, column2 FROM table\nWHERE column1 IN (value1, value2);\n<\/pre><\/div>\n\n\n\n<p>The IN operator accepts a list of values to which you want to compare to the value in a column separated by commas. You must surround the values in curly brackets. This applies even if you are using a SELECT statement in the IN clause.<\/p>\n\n\n\n<p>You can specify as many values in an IN statement as you want. This makes them more convenient than using <a href=\"https:\/\/careerkarma.com\/blog\/sql-or-and-and\/\">SQL OR statements<\/a> if you want to compare a value to multiple values.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Use the SQL IN Operator<\/h2>\n\n\n\n<p>We\u2019ve got a database called \u201cemployees\u201d. This database stores information on all the people who work for a pharmaceutical sales business. Our database looks like this:\n<\/p>\n\n\n\n<table class=\"wp-block-table course-info-table\"><tbody><tr><td><strong>id<\/strong><\/td><td><strong>name<\/strong><\/td><td><strong>title<\/strong><\/td><td><strong>branch<\/strong><\/td><td><strong>salary<\/strong><\/td><\/tr><tr><td>1<\/td><td>Thomas Carlton<\/td><td>Sales Representative<\/td><td>Cambridge<\/td><td>29400<\/td><\/tr><tr><td>2<\/td><td>Lisa Nelson<\/td><td>Senior Sales Representative<\/td><td>San Francisco<\/td><td>32000<\/td><\/tr><tr><td>3<\/td><td>Victoria Carlisle<\/td><td>Sales Director<\/td><td>Cambridge<\/td><td>37800<\/td><\/tr><tr><td>4<\/td><td>Julie Forsythe<\/td><td>Senior Sales Representative<\/td><td>San Francisco<\/td><td>32000<\/td><\/tr><tr><td>5<\/td><td>Hallie Peters<\/td><td>Sales Representative<\/td><td>Los Angeles<\/td><td>29400<\/td><\/tr><tr><td>6<\/td><td>Rachel Parsons<\/td><td>Sales Representative<\/td><td>San Francisco<\/td><td>29400<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Let\u2019s retrieve a list of all the employees who work in either Los Angeles or San Francisco. We are going to select the names of each employee, their titles, and the name of the branch at which they are employed.\n\n<\/p>\n\n\n\n<p>The following <a href=\"https:\/\/careerkarma.com\/blog\/sql-select\/\">SQL SELECT statement<\/a> will retrieve these values from our database:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT name, title, branch FROM employees\nWHERE branch IN ('Los Angeles', 'San Francisco');<\/pre><\/div>\n\n\n\n<p>Our statement returns:<\/p>\n\n\n\n<table class=\"wp-block-table course-info-table\"><tbody><tr><td><strong>name<\/strong><\/td><td><strong>title<\/strong><\/td><td><strong>branch<\/strong><\/td><\/tr><tr><td>Lisa Nelson<\/td><td>Senior Sales Representative<\/td><td>San Francisco<\/td><\/tr><tr><td>Julie Forsythe<\/td><td>Senior Sales Representative<\/td><td>San Francisco<\/td><\/tr><tr><td>Hallie Peters<\/td><td>Sales Representative<\/td><td>Los Angeles<\/td><\/tr><tr><td>Rachel Parsons<\/td><td>Sales Representative<\/td><td>San Francisco<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Only employees working in the San Francisco or Los Angeles branches are returned.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A Look at Multiple SQL OR Statements<\/h3>\n\n\n\n<p>Our above query that retrieves all employees at the San Francisco or Los Angeles branches could have been written using an OR operator:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT name, title, branch FROM employees\nWHERE branch = 'Los Angeles' OR branch = 'San Francisco';<\/pre><\/div>\n\n\n\n<p>This statement is syntactically correct. If you\u2019re looking to compare a value in a database to a long list of values, OR statements can become cluttered. Imagine searching through four values. You would need to specify three OR statements in your query.<\/p>\n\n\n\n<p>For instance, suppose we wanted to retrieve a list of all employees who work at the Cambridge, San Francisco, Los Angeles, and Denver branches. Our query would look like this:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT name, title, branch FROM employees\nWHERE branch = 'Los Angeles' OR branch = 'San Francisco' OR branch ='Denver' OR branch = 'Cambridge';\n<\/pre><\/div>\n\n\n\n<p>Using an IN statement would make this query easier to read.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SQL IN Using SELECT<\/h2>\n\n\n\n<p>The IN operator accepts the result of an SQL SELECT query.\n\n<\/p>\n\n\n\n<p>This means that you can compare values in a database to the result of another query. To demonstrate this, we\u2019re going to create a new table: probation.\n\n<\/p>\n\n\n\n<table class=\"wp-block-table course-info-table\"><tbody><tr><td><strong>employee<\/strong><\/td><td><strong>employed_on<\/strong><\/td><\/tr><tr><td>1<\/td><td>2019-07-19<\/td><\/tr><tr><td>3<\/td><td>2020-01-03<\/td><\/tr><tr><td>6<\/td><td>2019-11-23<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Let\u2019s retrieve a list of employees who are currently on probation. Consider the following query:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>SELECT name FROM employees\nWHERE id IN (SELECT employee FROM probation);<\/pre><\/div>\n\n\n\n<p>This query will select all employees whose employee ID appears in the \u201cprobation\u201d table.\n\n<\/p>\n\n\n\n<p>Our query returns:<\/p>\n\n\n\n<table class=\"wp-block-table course-info-table\"><tbody><tr><td><strong>name<\/strong><\/td><\/tr><tr><td>Thomas Carlton<\/td><\/tr><tr><td>Victoria Carlisle<\/td><\/tr><tr><td>Rachel Parsons<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>The query \u201cSELECT employee FROM probation\u201d selects all the IDs of employees who are on probation. The result of this query (1, 3, 6), is then used with the IN operator.\n\n<\/p>\n\n\n\n<p>Our main query returns a list of all employees whose value is equal to 1, 3, or 6.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The SQL IN operator verifies if a column is equal to one of many values. You can specify the values to which the column should compare using a comma-separated list. Or, you can specify a query.<\/p>\n\n\n\n<p>As a challenge, write a query that would retrieve the names of all employees whose title is either:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Sales Director or;<\/li><li>Senior Sales Representative.<\/li><\/ul>\n\n\n\n<p>The name of the table you should query is &#8220;database.&#8221; Compare the query you wrote with the ones above to see if you are right.<\/p>\n\n\n\n<p>We&#8217;ve written a comprehensive guide on how to learn SQL, featuring a list of top learning resources and online courses. If you&#8217;re interested in reading the guide, visit our <a href=\"https:\/\/careerkarma.com\/blog\/learn-sql\/\">How to Learn SQL page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"The SQL IN keyword lets you select values that appear in a range of values. You can specify a query inside an IN statement to search for records whose column has a value in the result of a query. The IN keyword appears after a WHERE statement. You can retrieve records whose values are equal&hellip;","protected":false},"author":240,"featured_media":14529,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17284],"tags":[],"class_list":{"0":"post-20702","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-sql"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"SQL","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>SQL IN: A Beginner\u2019s Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"The SQL IN operator checks whether the value of a column is in a list of values. On Career Karma, learn how to use the SQL IN operator.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/sql-in\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL IN: A Beginner\u2019s Guide\" \/>\n<meta property=\"og:description\" content=\"The SQL IN operator checks whether the value of a column is in a list of values. On Career Karma, learn how to use the SQL IN operator.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/sql-in\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-11T12:43:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:07:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"SQL IN: A Beginner\u2019s Guide\",\"datePublished\":\"2021-01-11T12:43:53+00:00\",\"dateModified\":\"2023-12-01T12:07:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/\"},\"wordCount\":829,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg\",\"articleSection\":[\"SQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/sql-in\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/sql-in\/\",\"name\":\"SQL IN: A Beginner\u2019s Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg\",\"datePublished\":\"2021-01-11T12:43:53+00:00\",\"dateModified\":\"2023-12-01T12:07:57+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The SQL IN operator checks whether the value of a column is in a list of values. On Career Karma, learn how to use the SQL IN operator.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/sql-in\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg\",\"width\":1000,\"height\":667},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/sql-in\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL\",\"item\":\"https:\/\/careerkarma.com\/blog\/sql\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SQL IN: A Beginner\u2019s Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"SQL IN: A Beginner\u2019s Guide | Career Karma","description":"The SQL IN operator checks whether the value of a column is in a list of values. On Career Karma, learn how to use the SQL IN operator.","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:\/\/careerkarma.com\/blog\/sql-in\/","og_locale":"en_US","og_type":"article","og_title":"SQL IN: A Beginner\u2019s Guide","og_description":"The SQL IN operator checks whether the value of a column is in a list of values. On Career Karma, learn how to use the SQL IN operator.","og_url":"https:\/\/careerkarma.com\/blog\/sql-in\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2021-01-11T12:43:53+00:00","article_modified_time":"2023-12-01T12:07:57+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/sql-in\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/sql-in\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"SQL IN: A Beginner\u2019s Guide","datePublished":"2021-01-11T12:43:53+00:00","dateModified":"2023-12-01T12:07:57+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/sql-in\/"},"wordCount":829,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg","articleSection":["SQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/sql-in\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/sql-in\/","url":"https:\/\/careerkarma.com\/blog\/sql-in\/","name":"SQL IN: A Beginner\u2019s Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg","datePublished":"2021-01-11T12:43:53+00:00","dateModified":"2023-12-01T12:07:57+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The SQL IN operator checks whether the value of a column is in a list of values. On Career Karma, learn how to use the SQL IN operator.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/sql-in\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/sql-in\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/sql-in\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/samuel-bourke-sc-B_2-Om7Q-unsplash.jpg","width":1000,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/sql-in\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL","item":"https:\/\/careerkarma.com\/blog\/sql\/"},{"@type":"ListItem","position":3,"name":"SQL IN: A Beginner\u2019s Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=20702"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20702\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/14529"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=20702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=20702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=20702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}