{"id":4432,"date":"2019-05-02T15:37:08","date_gmt":"2019-05-02T10:07:08","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=4432"},"modified":"2019-05-03T19:49:37","modified_gmt":"2019-05-03T14:19:37","slug":"joining-tables-with-join-clauses-in-database","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/","title":{"rendered":"Joining Tables with JOIN Clauses in Database"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Joining Tables with JOIN Clauses in Database  <\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Date posted: 02\/05\/2019<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Join clause:<\/h4>\n\n\n\n<p> The SQL&nbsp;<strong>Join<\/strong>&nbsp;clause is used to combine records from two or more tables in a database. <\/p>\n\n\n\n<p> A JOIN  means for combining fields from two tables by using  <br>common values to each. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\"> Different types of joins <\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>INNER JOIN<\/strong> &#8211;  selects records that have matching values in both tables. <\/li><li><strong> LEFT JOIN<\/strong>\u2212   selects  all rows from the left table, even if there are no matches in the right table. <\/li><li> <strong>RIGHT JOIN<\/strong>&#8211; selects  all rows from the right table, even if there are no matches in the left table. <\/li><li><\/li><\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"> Pre-requesties <\/h4>\n\n\n\n<p> we have to create database and table. Firstly, create database and name it as \u2018join test\u2019.  Then use the database.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"127\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/db1.png\" alt=\"\" class=\"wp-image-4444\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/db1.png 749w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/db1-300x51.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/figure>\n\n\n\n<p>Similarly, create a tables  &#8216;s_table1 &#8216;  with column name &#8216;s_id&#8217; and &#8216;s_name&#8217;.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"686\" height=\"134\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/s_table1.png\" alt=\"\" class=\"wp-image-4501\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/s_table1.png 686w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/s_table1-300x59.png 300w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/figure>\n\n\n\n<p> Similarly in the vein, create a tables  &#8216;s_table2 &#8216;  with column name &#8216;s_id&#8217; and &#8216;s_city&#8217;. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"667\" height=\"52\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/s_table2c.png\" alt=\"\" class=\"wp-image-4502\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/s_table2c.png 667w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/s_table2c-300x23.png 300w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"881\" height=\"104\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/s_table2i.png\" alt=\"\" class=\"wp-image-4503\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/s_table2i.png 881w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/s_table2i-300x35.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/s_table2i-768x91.png 768w\" sizes=\"auto, (max-width: 881px) 100vw, 881px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"mce_5\">&#8216;s_table1 &#8216; and &#8216;s_table2&#8217; data:<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"866\" height=\"289\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/tableview.png\" alt=\"\" class=\"wp-image-4504\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/tableview.png 866w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/tableview-300x100.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/tableview-768x256.png 768w\" sizes=\"auto, (max-width: 866px) 100vw, 866px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">INNER JOIN : <\/h4>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">MariaDB [jointest]> select s_table1.s_id,s_table1.s_name,s_table2.s_id,s_table2.s_city from s_table1 inner join s_table2 on s_table1.s_id=s_table2.s_id;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"110\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/inj-1024x110.png\" alt=\"\" class=\"wp-image-4505\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/inj-1024x110.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/inj-300x32.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/inj-768x83.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/inj.png 1281w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"> LEFT JOIN <\/h4>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">MariaDB [jointest]> select s_table1.s_id,s_table1.s_name,s_table2.s_id,s_table2.s_city from s_table1 left join s_table2 on s_table1.s_id=s_table2.s_id;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"116\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/ljn-1024x116.png\" alt=\"\" class=\"wp-image-4506\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/ljn-1024x116.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/ljn-300x34.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/ljn-768x87.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/ljn.png 1276w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">RIGHT JOIN <\/h4>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">MariaDB [jointest]> select s_table1.s_id,s_table1.s_name,s_table2.s_id,s_table2.s_city from s_table1 right join s_table2 on s_table1.s_id=s_table2.s_id;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"115\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/rjn-1024x115.png\" alt=\"\" class=\"wp-image-4507\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/rjn-1024x115.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/rjn-300x34.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/rjn-768x87.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/05\/rjn.png 1287w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p> Thanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">pheonix solutions<\/a>. <\/p>\n\n\n\n<p>You find this tutorial helpful? Share with your friends to keep it alive<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Joining Tables with JOIN Clauses in Database Date posted: 02\/05\/2019 Join clause: The SQL&nbsp;Join&nbsp;clause is used to combine records from two or more tables in a database. A JOIN means for combining fields from two tables by using common values to each. Different types of joins INNER JOIN &#8211; selects&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Joining Tables with JOIN Clauses in Database<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[386],"tags":[641],"class_list":{"0":"post-4432","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-database","7":"tag-database-join-clauses","8":"h-entry","10":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Joining Tables with JOIN Clauses in Database Date posted: 02\/05\/2019 Join clause: The SQL&nbsp;Join&nbsp;clause is used to combine records from two or more tables in a database. A JOIN means for combining fields from two tables by using common values to each. Different types of joins INNER JOIN &#8211; selects&hellip; Continue Reading Joining Tables with JOIN Clauses in Database\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-02T10:07:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-05-03T14:19:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/db1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"Joining Tables with JOIN Clauses in Database\",\"datePublished\":\"2019-05-02T10:07:08+00:00\",\"dateModified\":\"2019-05-03T14:19:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/\"},\"wordCount\":193,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/db1.png\",\"keywords\":[\"Database join clauses\"],\"articleSection\":[\"Database\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/db1.png\",\"datePublished\":\"2019-05-02T10:07:08+00:00\",\"dateModified\":\"2019-05-03T14:19:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/db1.png\",\"contentUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/db1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/joining-tables-with-join-clauses-in-database\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Joining Tables with JOIN Clauses in Database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","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:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Joining Tables with JOIN Clauses in Database Date posted: 02\/05\/2019 Join clause: The SQL&nbsp;Join&nbsp;clause is used to combine records from two or more tables in a database. A JOIN means for combining fields from two tables by using common values to each. Different types of joins INNER JOIN &#8211; selects&hellip; Continue Reading Joining Tables with JOIN Clauses in Database","og_url":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2019-05-02T10:07:08+00:00","article_modified_time":"2019-05-03T14:19:37+00:00","og_image":[{"url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/db1.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"Joining Tables with JOIN Clauses in Database","datePublished":"2019-05-02T10:07:08+00:00","dateModified":"2019-05-03T14:19:37+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/"},"wordCount":193,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/db1.png","keywords":["Database join clauses"],"articleSection":["Database"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/","url":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/db1.png","datePublished":"2019-05-02T10:07:08+00:00","dateModified":"2019-05-03T14:19:37+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#primaryimage","url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/db1.png","contentUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/05\/db1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/joining-tables-with-join-clauses-in-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Joining Tables with JOIN Clauses in Database"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-19u","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=4432"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4432\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=4432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=4432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=4432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}