{"id":12688,"date":"2014-01-12T06:51:00","date_gmt":"2014-01-12T06:51:00","guid":{"rendered":"https:\/\/viewmyprojects.com\/winwirewp\/?p=12688"},"modified":"2025-01-28T11:39:36","modified_gmt":"2025-01-28T11:39:36","slug":"sql-joins-mystery-resolved","status":"publish","type":"post","link":"https:\/\/viewmyprojects.com\/winwirewp\/blog\/sql-joins-mystery-resolved\/","title":{"rendered":"SQL Joins \u2013 Mystery Resolved"},"content":{"rendered":"\n<p>Working with SQL Server was always a troublesome experience for me, especially when I had to pick up data from multiple tables. Working with multiple tables (Joins) was never my forte and used to give goose bumps whenever I work with those. I always used to feel like a tail-ender batsman, who is facing a fiery spell from a lead bowler of opposite team, until I saw a Facebook post where joins are explained with the help of pictures. That gave me a bit of confidence, so I thought of sharing the same with of you.<\/p>\n\n\n\n<p>For explanation, I am assuming that circles represents 2 different tables, say TABLE1 and TABLE2, with COLUMN1 as the common field between 2 tables, and highlighted portion (in red) is the result of query.<\/p>\n\n\n\n<p>Here are the tables, I am using for below examples:<\/p>\n\n\n\n<p><strong>TABLE1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><\/tr><tr><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><\/tr><tr><td>1003<\/td><td>CCC<\/td><td>SR. DEVELOPER<\/td><td>1,200,000<\/td><\/tr><tr><td>1004<\/td><td>DDD<\/td><td>DEVELOPER<\/td><td>900,000<\/td><\/tr><tr><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>700,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>TABLE2<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><\/tr><tr><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><\/tr><tr><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>1,200,000<\/td><\/tr><tr><td>1007<\/td><td>GGG<\/td><td>DEVELOPER<\/td><td>900,000<\/td><\/tr><tr><td>1008<\/td><td>HHH<\/td><td>DEVELOPER<\/td><td>700,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Inner Join<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"201\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Inner-Join.webp\" alt=\"\" class=\"wp-image-18093\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Inner-Join.webp 320w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Inner-Join-300x188.webp 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p><strong>SELECT<\/strong><\/p>\n\n\n\n<p><strong>*<\/strong><\/p>\n\n\n\n<p><strong>FROM<\/strong><\/p>\n\n\n\n<p><strong>TABLE1 TBL1<\/strong><\/p>\n\n\n\n<p><strong>INNER JOIN<\/strong><\/p>\n\n\n\n<p><strong>TABLE2 TBL2<\/strong><\/p>\n\n\n\n<p><strong>ON<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 = TBL2.COLUMN1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&nbsp;<strong>TABLE1<\/strong><\/td><td><strong>TABLE2<\/strong><\/td><\/tr><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><\/tr><tr><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><\/tr><tr><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>1,200,000<\/td><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>1,200,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Left Outer Join<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"196\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Left-Outer-Join.webp\" alt=\"\" class=\"wp-image-18095\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Left-Outer-Join.webp 320w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Left-Outer-Join-300x184.webp 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p><strong>SELECT<\/strong><\/p>\n\n\n\n<p><strong>*<\/strong><\/p>\n\n\n\n<p><strong>FROM<\/strong><\/p>\n\n\n\n<p><strong>TABLE1 TBL1<\/strong><\/p>\n\n\n\n<p><strong>LEFT OUTER JOIN<\/strong><\/p>\n\n\n\n<p><strong>TABLE2 TBL2<\/strong><\/p>\n\n\n\n<p><strong>ON<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 = TBL2.COLUMN1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>TABLE1<\/strong><\/td><td><strong>TABLE2<\/strong><\/td><\/tr><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><\/tr><tr><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><\/tr><tr><td>1003<\/td><td>CCC<\/td><td>SR. DEVELOPER<\/td><td>1,200,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1004<\/td><td>DDD<\/td><td>DEVELOPER<\/td><td>900,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>700,000<\/td><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>1,200,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>RightOuter Join<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"203\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Right-Outer-Join.webp\" alt=\"\" class=\"wp-image-18096\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Right-Outer-Join.webp 320w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Right-Outer-Join-300x190.webp 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p><strong>SELECT<\/strong><\/p>\n\n\n\n<p><strong>*<\/strong><\/p>\n\n\n\n<p><strong>FROM<\/strong><\/p>\n\n\n\n<p><strong>TABLE1 TBL1<\/strong><\/p>\n\n\n\n<p><strong>RIGHT OUTER JOIN<\/strong><\/p>\n\n\n\n<p><strong>TABLE2 TBL2<\/strong><\/p>\n\n\n\n<p><strong>ON<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 = TBL2.COLUMN1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&nbsp;<strong>TABLE1<\/strong><\/td><td>&nbsp;<strong>TABLE2<\/strong><\/td><\/tr><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><\/tr><tr><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><\/tr><tr><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>700,000<\/td><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>1,200,000<\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1007<\/td><td>GGG<\/td><td>DEVELOPER<\/td><td>900,000<\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1008<\/td><td>HHH<\/td><td>DEVELOPER<\/td><td>700,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>FullOuter Join<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"194\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Full-Outer-Join.webp\" alt=\"\" class=\"wp-image-18097\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Full-Outer-Join.webp 320w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Full-Outer-Join-300x182.webp 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p><strong>SELECT<\/strong><\/p>\n\n\n\n<p><strong>*<\/strong><\/p>\n\n\n\n<p><strong>FROM<\/strong><\/p>\n\n\n\n<p><strong>TABLE1 TBL1<\/strong><\/p>\n\n\n\n<p><strong>FULL OUTER JOIN<\/strong><\/p>\n\n\n\n<p><strong>TABLE2 TBL2<\/strong><\/p>\n\n\n\n<p><strong>ON<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 = TBL2.COLUMN1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&nbsp;<strong>TABLE1<\/strong><\/td><td>&nbsp;<strong>TABLE2<\/strong><\/td><\/tr><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><td>1001<\/td><td>AAA<\/td><td>MANAGER<\/td><td>2,000,000<\/td><\/tr><tr><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><td>1002<\/td><td>BBB<\/td><td>TEAM LEAD<\/td><td>1,500,000<\/td><\/tr><tr><td>1003<\/td><td>CCC<\/td><td>SR. DEVELOPER<\/td><td>1,200,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1004<\/td><td>DDD<\/td><td>DEVELOPER<\/td><td>900,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>700,000<\/td><td>1005<\/td><td>EEE<\/td><td>DEVELOPER<\/td><td>1,200,000<\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1007<\/td><td>GGG<\/td><td>DEVELOPER<\/td><td>900,000<\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1008<\/td><td>HHH<\/td><td>DEVELOPER<\/td><td>700,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Left Outer Join where NULL<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"207\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Left-Outer-Join-where-NULL.webp\" alt=\"\" class=\"wp-image-18098\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Left-Outer-Join-where-NULL.webp 320w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Left-Outer-Join-where-NULL-300x194.webp 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p><strong>SELECT<\/strong><\/p>\n\n\n\n<p><strong>*<\/strong><\/p>\n\n\n\n<p><strong>FROM<\/strong><\/p>\n\n\n\n<p><strong>TABLE1 TBL1<\/strong><\/p>\n\n\n\n<p><strong>LEFT OUTER JOIN<\/strong><\/p>\n\n\n\n<p><strong>TABLE2 TBL2<\/strong><\/p>\n\n\n\n<p><strong>ON<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 = TBL2.COLUMN1<\/strong><\/p>\n\n\n\n<p><strong>WHERE<\/strong><\/p>\n\n\n\n<p><strong>TBL2.COLUMN1 IS NULL<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&nbsp;<strong>TABLE1<\/strong><\/td><td>&nbsp;<strong>TABLE2<\/strong><\/td><\/tr><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1003<\/td><td>CCC<\/td><td>SR. DEVELOPER<\/td><td>1,200,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1004<\/td><td>DDD<\/td><td>DEVELOPER<\/td><td>900,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Right Outer Join where NULL<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"193\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Right-Outer-Join-where-NULL.webp\" alt=\"\" class=\"wp-image-18099\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Right-Outer-Join-where-NULL.webp 320w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Right-Outer-Join-where-NULL-300x181.webp 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p><strong>SELECT<\/strong><\/p>\n\n\n\n<p><strong>*<\/strong><\/p>\n\n\n\n<p><strong>FROM<\/strong><\/p>\n\n\n\n<p><strong>TABLE1 TBL1<\/strong><\/p>\n\n\n\n<p><strong>RIGHT OUTER JOIN<\/strong><\/p>\n\n\n\n<p><strong>TABLE2 TBL2<\/strong><\/p>\n\n\n\n<p><strong>ON<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 = TBL2.COLUMN1<\/strong><\/p>\n\n\n\n<p><strong>WHERE<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 IS NULL<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&nbsp;<strong>TABLE1<\/strong><\/td><td>&nbsp;<strong>TABLE2<\/strong><\/td><\/tr><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1007<\/td><td>GGG<\/td><td>DEVELOPER<\/td><td>900,000<\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1008<\/td><td>HHH<\/td><td>DEVELOPER<\/td><td>700,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Full Outer Join where NULL<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"205\" src=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Full-Outer-Join-where-NULL.webp\" alt=\"\" class=\"wp-image-18100\" srcset=\"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Full-Outer-Join-where-NULL.webp 320w, https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/Full-Outer-Join-where-NULL-300x192.webp 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p><strong>SELECT<\/strong><\/p>\n\n\n\n<p><strong>*<\/strong><\/p>\n\n\n\n<p><strong>FROM<\/strong><\/p>\n\n\n\n<p><strong>TABLE1 TBL1<\/strong><\/p>\n\n\n\n<p><strong>FULL OUTER JOIN<\/strong><\/p>\n\n\n\n<p><strong>TABLE2 TBL2<\/strong><\/p>\n\n\n\n<p><strong>ON<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 = TBL2.COLUMN1<\/strong><\/p>\n\n\n\n<p><strong>WHERE<\/strong><\/p>\n\n\n\n<p><strong>TBL1.COLUMN1 IS NULL<\/strong><\/p>\n\n\n\n<p><strong>OR<\/strong><\/p>\n\n\n\n<p><strong>TBL2.COLUMN1 IS NULL<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>&nbsp;<strong>TABLE1<\/strong><\/td><td>&nbsp;<strong>TABLE2<\/strong><\/td><\/tr><tr><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><td><strong>EMPID<\/strong><\/td><td><strong>EMPNAME<\/strong><\/td><td><strong>DESIGNAION<\/strong><\/td><td><strong>SALARY<\/strong><\/td><\/tr><tr><td>1003<\/td><td>CCC<\/td><td>SR. DEVELOPER<\/td><td>1,200,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>1004<\/td><td>DDD<\/td><td>DEVELOPER<\/td><td>900,000<\/td><td><\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1007<\/td><td>GGG<\/td><td>DEVELOPER<\/td><td>900,000<\/td><\/tr><tr><td><\/td><td><\/td><td><\/td><td><\/td><td>1008<\/td><td>HHH<\/td><td>DEVELOPER<\/td><td>700,000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Now after this, I am confident enough, like any other top order batsman, who can play any bowler with ease.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working with SQL Server was always a troublesome experience for me, especially when I had to pick up data from multiple tables. Working with multiple tables (Joins) was never my forte and used to give goose bumps whenever I work with those. I always used to feel like a tail-ender batsman, who is facing a&hellip; <a class=\"more-link\" href=\"https:\/\/viewmyprojects.com\/winwirewp\/blog\/sql-joins-mystery-resolved\/\">Continue reading <span class=\"screen-reader-text\">SQL Joins \u2013 Mystery Resolved<\/span><\/a><\/p>\n","protected":false},"author":109,"featured_media":16739,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","_uag_custom_page_level_css":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-12688","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","entry"],"acf":[],"featured_image_src":"https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic.webp","author_info":{"display_name":"Vineet S","author_link":"https:\/\/viewmyprojects.com\/winwirewp\/author\/vineet-s\/"},"views":3676,"uagb_featured_image_src":{"full":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic.webp",800,440,false],"thumbnail":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic-150x150.webp",150,150,true],"medium":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic-300x165.webp",300,165,true],"medium_large":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic-768x422.webp",750,412,true],"large":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic.webp",750,413,false],"1536x1536":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic.webp",800,440,false],"2048x2048":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic.webp",800,440,false],"post-thumbnail":["https:\/\/viewmyprojects.com\/winwirewp\/wp-content\/uploads\/2023\/11\/SQL-Joins-\u2013-Mystery-Resolved-graphic.webp",800,440,false]},"uagb_author_info":{"display_name":"Vineet S","author_link":"https:\/\/viewmyprojects.com\/winwirewp\/author\/vineet-s\/"},"uagb_comment_info":0,"uagb_excerpt":"Working with SQL Server was always a troublesome experience for me, especially when I had to pick up data from multiple tables. Working with multiple tables (Joins) was never my forte and used to give goose bumps whenever I work with those. I always used to feel like a tail-ender batsman, who is facing a&hellip;&hellip;","_links":{"self":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts\/12688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/users\/109"}],"replies":[{"embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/comments?post=12688"}],"version-history":[{"count":3,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts\/12688\/revisions"}],"predecessor-version":[{"id":22563,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/posts\/12688\/revisions\/22563"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/media\/16739"}],"wp:attachment":[{"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/media?parent=12688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/categories?post=12688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/viewmyprojects.com\/winwirewp\/wp-json\/wp\/v2\/tags?post=12688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}