{"id":7221,"date":"2019-10-18T14:23:19","date_gmt":"2019-10-18T13:23:19","guid":{"rendered":"http:\/\/help.sdna.lu\/?p=7221&#038;lang=en"},"modified":"2021-04-28T20:32:44","modified_gmt":"2021-04-28T19:32:44","slug":"query-select-country-and-translations","status":"publish","type":"post","link":"https:\/\/sdna.lu\/?p=7221","title":{"rendered":"Query: Select Countries and Translations"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><code>SELECT [Country].[Name], [Language].[Name], CountryName.Name, CountryName.Nationality <br>\nfrom (([Country] Left Join [CountryName] <br>\nON ([Country].[Id] = [CountryName].[CountryId] and [CountryName].[DBId] = 0))<br>\nLEFT JOIN [Language]<br>\nON ([CountryName].[LanguageId] = [Language].[Id] and [Language].[DBId] = 0))<br>\nwhere [CountryName].[LanguageId] in (1 , 2, 3)<br>\nand [CountryName].[DBId] = 0<br>\norder by [Country].[Name], [Language].[Name]<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SELECT [Country].[Name], [Language].[Name], CountryName.Name, CountryName.Nationality from (([Country] Left Join [CountryName] ON ([Country].[Id] = [CountryName].[CountryId] and [CountryName].[DBId] = 0)) LEFT JOIN [Language] ON ([CountryName].[LanguageId] = [Language].[Id] and [Language].[DBId] = 0)) where [CountryName].[LanguageId] in (1 , 2, 3) and [CountryName].[DBId] = 0 order by [Country].[Name], [Language].[Name]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[487],"tags":[],"class_list":["post-7221","post","type-post","status-publish","format-standard","hentry","category-query"],"_links":{"self":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/7221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7221"}],"version-history":[{"count":4,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/7221\/revisions"}],"predecessor-version":[{"id":7227,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/7221\/revisions\/7227"}],"wp:attachment":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}