{"blog_url":"https://www.backyrd.net/","description":"\u5099\u5fd8\u9332\u3002 2\u5217\u306b\u5bfe\u3057\u3066Distinct\u3092\u7528\u3044\u305f\u691c\u7d22\u7d50\u679c\u306e\u4ef6\u6570\u3092\u6570\u3048\u308b\u5834\u5408\u306eSQL\u3067\u3001\u9055\u3044\u304c\u3042\u3063\u305f\u3002 [SQL SERVER] Select count(*) From (Select Distinct A, B From TableC) As Result [ORACLE] Select count(*) From (Select Distinct A, B From TableC) \u9055\u3044\u306f\u3001From\u306e\u5f8c\u308d\u306b\u3042\u308b\u30b5\u30d6\u30af\u30a8\u30ea\u306e\u540d\u79f0\u3002SQL Server\u306fAS\u3067\u540d\u524d\u3092\u4ed8\u3051\u306a\u3044\u3068\u4e0a\u8a18SQL\u306f\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002Oracle\u306f\u3001\u9006\u306b\u540d\u524d\u3092\u4ed8\u3051\u308b\u3068\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002","height":"190","type":"rich","image_url":null,"version":"1.0","author_url":"https://blog.hatena.ne.jp/frontline/","author_name":"frontline","published":"2005-06-16 00:00:00","url":"https://www.backyrd.net/entry/20050616/p1","blog_title":"misc.log","provider_name":"Hatena Blog","categories":["\u696d\u52d9\u65e5\u8a8c","SQLServer","DB","Oracle"],"title":" Oracle\u3068SQL Server\u306eSQL\u306e\u9055\u3044","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.backyrd.net%2Fentry%2F20050616%2Fp1\" title=\" Oracle\u3068SQL Server\u306eSQL\u306e\u9055\u3044 - misc.log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog"}