{"id":217977,"date":"2020-12-05T17:50:31","date_gmt":"2020-12-05T09:50:31","guid":{"rendered":"http:\/\/4563.org\/?p=217977"},"modified":"2020-12-05T17:50:31","modified_gmt":"2020-12-05T09:50:31","slug":"sql-%e9%97%ae%e9%a2%98%e6%80%8e%e6%a0%b7%e5%b0%86-null-%e5%80%bc%e5%8e%bb%e6%8e%89%e6%95%b0%e6%8d%ae%e5%be%80%e4%b8%8a%e5%af%b9%e9%bd%90","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=217977","title":{"rendered":"sql \u95ee\u9898,\u600e\u6837\u5c06 null \u503c\u53bb\u6389,\u6570\u636e\u5f80\u4e0a\u5bf9\u9f50"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  sql \u95ee\u9898,\u600e\u6837\u5c06 null \u503c\u53bb\u6389,\u6570\u636e\u5f80\u4e0a\u5bf9\u9f50               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : awen233333 <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        NULL NULL haha NULL<br \/>NULL NULL xixi NULL<br \/>gege NULL NULL NULL<br \/>NULL NULL NULL bebe<br \/>jiji NULL NULL NULL<br \/>NULL NULL NULL tete<br \/>NULL NULL NULL dwdw<br \/>NULL NULL NULL kiki<br \/>NULL NULL NULL dwdw<br \/>\u5c06\u4e0a\u9762\u6570\u636e\u6574\u7406\u4e3a\u4e0b\u9762\u8fd9\u6837<br \/>gege NULL haha bebe<br \/>jiji NULL xixi tete<br \/>NULL NULL NULL dwdw<br \/>NULL NULL NULL kiki<br \/>NULL NULL NULL dwdw      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4428855\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Mitt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u81ea\u5df1\u5199\u8f6f\u4ef6\u4ee3\u7801\u5904\u7406\u5427\uff0c\u8fd9\u4e48\u590d\u6742\u7684\u903b\u8f91\u5c31\u4e0d\u8981\u60f3\u7740 sql \u5904\u7406\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428856\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rqxiao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             order by \u53ef\u4ee5\u5b9e\u73b0\u7684\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428857\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : conge <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5bf9\u6bcf\u5217\u53bb null\uff0c\u91cd\u65b0 index\uff0c\u5f97\u56db\u4e2a\u8868\uff0c\u7136\u540e\u56db\u4e2a\u8868\u91cd\u65b0 join on index \u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5bf9\u4e8e\u5168 null \u7684\u5217\uff0c\u9700\u8981\u4fdd\u7559\u81f3\u5c11\u4e00\u884c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428858\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : weizhen199 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             order by \u6709 null first\/last \u8fd9\u79cd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428859\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : RRRoger <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u79cd\u6709\u591a\u884c\u5408\u5e76\u4e86 \u5efa\u8bae\u5199\u4ee3\u7801\u5904\u7406 <\/p>\n<p>\u6216\u8005\u7528\u805a\u5408\u51fd\u6570 max ?                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428860\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : loading <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u6b21\u67e5\u4e00\u5217\uff0c\u7136\u540e\u518d\u62fc\u3002<br \/>\u7528\u4ee3\u7801\u5904\u7406\u5427\uff0c\u8fd9\u4e2a\u5199\u51fa\u6765\u4ee5\u540e\u4e5f\u662f\u770b\u4e0d\u61c2\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428861\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : awen233333 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @conge \u73b0\u5728\u5c31\u662f\u7528\u8fd9\u79cd\u65b9\u6cd5,\u5b57\u6bb5\u592a\u591a,\u540e\u9762\u8fd8\u8981\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c,\u8981\u62fc\u63a5 sql,\u4f7f\u7528 exec;\u5f88\u591a\u5730\u65b9\u4f1a\u8c03\u7528,\u90a3\u56db\u4e2a\u8868\u4f1a\u4e00\u4e9b\u5730\u65b9\u5220\u9664,\u4e00\u4e9b\u5730\u65b9\u65b0\u5efa,\u4f1a\u62a5\u9519                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428862\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jjianwen68 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5199\u5b58\u50a8\u8fc7\u7a0b\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428863\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lonelymarried <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             filter when ? is not null                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4428864\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : awen233333 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jjianwen68 \u73b0\u5728\u5c31\u662f\u5b58\u50a8\u8fc7\u7a0b,\u641e\u4e0d\u5b9a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>sql \u95ee\u9898,\u600e\u6837\u5c06 null \u503c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/217977"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=217977"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/217977\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217977"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}