{"image_url":null,"url":"https://haradago.hatenadiary.org/entry/20180214/p1","categories":["MSSQL"],"height":"190","blog_url":"https://haradago.hatenadiary.org/","type":"rich","width":"100%","author_name":"haradago","title":"TOP \u53e5 PERCENT","published":"2018-02-14 00:00:00","version":"1.0","description":"TOP\u306bPERCENT\u53e5\u3092\u4ed8\u3051\u308b\u3068\u4e0a\u4f4dN%\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b select TOP 50 PERCENT * from t_hoge order by hoge_id \u306a\u304a\u3001\u4ee5\u524d\u306f\u30d3\u30e5\u30fc\u306bTOP 100 PERCENT\u3092\u4ed8\u3051\u308b\u3068Order by\u304c\u8a18\u8ff0\u3067\u304d\u308b\u3053\u3068\u3067\u4e26\u3073\u66ff\u3048\u304c\u3067\u304d\u305f\u30d3\u30e5\u30fc\u304c\u4f5c\u6210\u3067\u304d\u3066\u3044\u305f\u304c\u3001 SQL Server 2008\u3042\u305f\u308a\u304b\u3089\u305d\u306e\u6280\u306f\u4f7f\u3048\u306a\u3044\u3088\u3046\u306a\u306e\u3067\u30d3\u30e5\u30fc\u3067\u3042\u308d\u3046\u304c\u53d6\u5f97\u3059\u308b\u969b\u306b\u306f \u9806\u5e8f\u3092\u304b\u306a\u3089\u305aOrderby\u53e5\u3067\u6307\u5b9a\u3059\u308b\u3053\u3068 Microsoft\u306eOrderby\u306b\u3064\u3044\u3066\u306e\u8003\u3048\u65b9\u306f\u4ee5\u4e0b\u306e\u901a\u308a https://blogs.msdn.microsoft.com/jpsq\u2026","blog_title":"\u3076\u308a\u308a\u3042\u3093\u3068\u308d\u30fc\u3069(\u4eee)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharadago.hatenadiary.org%2Fentry%2F20180214%2Fp1\" title=\"TOP \u53e5 PERCENT - \u3076\u308a\u308a\u3042\u3093\u3068\u308d\u30fc\u3069(\u4eee)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/haradago/"}