{"id":2730,"date":"2018-07-05T20:06:17","date_gmt":"2018-07-06T03:06:17","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=2730"},"modified":"2018-07-05T20:06:17","modified_gmt":"2018-07-06T03:06:17","slug":"right-outer-join-example","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=2730","title":{"rendered":"RIGHT OUTER JOIN example"},"content":{"rendered":"<p>Another simple query. I have a list of vocabulary words with their definitions. I found a usage that clearly expressed the meaning of the word and put it in a different table. When I was nearly done I wanted to make sure that all of the words had at least one usage example. This is the code that does it.<\/p>\n<p><pre><code class=\"preserve-code-formatting\">\nSELECT words.word, words_usage.word\nFROM words_usage \nRIGHT OUTER JOIN words \nON words_usage.word = words.word \nWHERE words_usage.word IS NULL \nORDER BY `words_usage`.`word` ASC\n<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another simple query. I have a list of vocabulary words with their definitions. I found a usage that clearly expressed the meaning of the word and put it in a different table. When I was nearly done I wanted to make sure that all of the words had at least one usage example. This is &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=2730\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">RIGHT OUTER JOIN example<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-2730","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2730"}],"version-history":[{"count":0,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2730\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}