本帖最后由 safjudsoi45 于 2011-12-25 20:40:12 编辑

解决方案 »

  1.   

    select * from theid
    where name is not  null and age is not Null
    order by rand()
      

  2.   

    safjudsoi45 (safjudsoi45)
      '截至2011-12-25 20:40:05  用户结帖率0.00% 当您的问题得到解答后请及时结贴.
    http://topic.csdn.net/u/20090501/15/7548d251-aec2-4975-a9bf-ca09a5551ba5.html
    http://topic.csdn.net/u/20100428/09/BC9E0908-F250-42A6-8765-B50A82FE186A.html
    http://topic.csdn.net/u/20100626/09/f35a4763-4b59-49c3-8061-d48fdbc29561.html8、如何给分和结贴?
    http://community.csdn.net/Help/HelpCenter.htm#结帖
      

  3.   

    delete from theid
    where name is not  null or age is not Null
    order by rand()
      

  4.   

    delete from theid
    where name is null or age is Null
    order by rand()
      

  5.   


    order by rand()  
    这句我是要把数据库的内容变更掉,不是查询出来的结果,该怎么写?
      

  6.   

    order by rand()
    这句我是要把数据库的内容变更掉,不是查询出来的结果,该怎么写?
      

  7.   

    还有第一句也不行
    我这边要这样写才行是为什么呢?
    select * from theid
    where name ='' or age = ''