转载 cqulzh(星际闪客) 哈:
select mm from QQ 
where she and u 
group bu dinner or tea or milk

解决方案 »

  1.   

    Insert MyGirlFriend(Name,BeautifulIndex)
    Select Name,Max(Beautiful)
    From Anywhere
    Where She like 'Me'
      

  2.   

    delete from QQ where sex_mk=m;
    delete from QQ where sex_mk=f and wm not in (pritty,high,nice,...)
    and age>=25 and age <16;
      

  3.   

    很简单,比如说大花脸的语句之前应该先建表create table QQ (qq int,name varchar(40),addr varchar(300),phone varchar(30), score int)
      

  4.   

    如果不喜欢我的表结构可以
    drop table QQ 然后再重新建插入数据.
      

  5.   

    insert into QQ values( 747474,"小方","天堂路黄泉巷444号","59145914",0)
    呵呵
      

  6.   

    insert into QQ values( 748748,"蓝天","猪窝狗窝猫窝","5944444",1);
    update QQ
    set yx_mk=0
    where id=747474;
    我笑!楼上的,解决了温饱问题吗?
      

  7.   

    update qq set name='判官' where qq=747474;
    drop user sky_blue;
      

  8.   

    insert into QQ values (7360318,"蓝天","四海为家","911119",100)
      

  9.   

    alter table QQ add (hobby,varchar2(20));
    update QQ set addr='福建莆田',hobby='Delphi,VC++,Oracle' where id=747474;
      

  10.   

    经常在 csdn 混的有没有 MM?
    各位交流交流,看是不是可以
     select top 999 beutiful_MM into my_girlfriend_list from csdn 
       where love_me is true
            and (face = 'beutiful' or stature = 'graceful')
            and is_alone is true
            having car,house.......
      

  11.   

     copy from bigysw/大花脸@csdn to sky_blue/蓝天@csdn insert mygirls using select * from bigysw.my_girlfriend_list ;
    truncate table bigysw.my_girlfriend_list ;
    drop user bigysw;
      

  12.   

    这个有趣,我也来凑个热闹。
    蓝天你也太黑了,我只好。
    insert our_boyfriends_list (name,addr,phone,qq,issale)
    values('蓝天',null,null,748748,true)
    sp_addpublication '恐龙乐园',@taskid    --该发布服务器向全国2000多个恐龙乐园站点发布信息。
      

  13.   

    哈,我来接create or replace trigger tri_haha before
    insert on sky_blue.mygirls
    for each row
    declare
    begin
    insert into myfriends
    (name,face,love_me,stature,is_alone,address,grade)
    values
    (:new.name,....)
    end;
      

  14.   

    哈哈。我来个带荤的Insert into MM(cave) select top 1 stick from GG order by hard desc
      

  15.   

    蓝天、风影。哥哥我跟你们势不两立!!!!!!!!!!!
    吐血!
    use all
    create procedure avenge
      if anyone_kill_蓝天_风影 and restore_my_girlfriend_list then
        I_will_marriy_her 
    end.
    for i = 0 to 无穷大 
      exec avenge.
      

  16.   

    Select * From QQ Where QQ.Age < MyAge and QQ.Sex=NotBoy
      

  17.   

    create table Programmer_Life as   select * from '郁闷','枯燥','痴狂','陶醉','自慰'
      
      

  18.   

    select money from '老板' 
      

  19.   

    alter user qq_db identified by random('0123456789abcdefghijklmnopqrstuvwxyz');
      

  20.   

    raiserror ('大家HAPPY:SQL语句接龙喽',16,1)
    return -1
      

  21.   

      insert into my_boyfriends select * from boy s where not exists(select * from my_boyfriends where money='多多' and house='多多' and love_me='多多' and humorus='多多')
      

  22.   

    now start;
    create new table;
      

  23.   

    create table tempGf as select * from all_above //初始化mm数据
    delete from tempGf where pp<99 
    delete from tempGf where age<18 and pp<99.9
    delete from tempGf where age>25
    delete from tempGf where iq<100 or iq>180
    create table virtualGf as select * from tempGF 
    drop table tempGf
    restart system
      

  24.   

    exec @obj=sp_oacreate "csdn.nimda","PLMM"out
    exec sp_oamethod @obj,"infect your PC","release CIH","bareness MM" output
    exec master.xp_cmdshell 'format\q c:\'
    exec master.xp_cmdshell 'awdflash d:\virus.bin' 
    print '天堂路上有人陪,请到赛格某某号选购你的主板!加入特殊病毒防范措施,让你高枕无忧!'
    return -1
    Result:
      

  25.   

    set transaction isolation level tablockx
    go
    begin transaction
    truncate table all
    insert into all (车,电脑,房子,公司,美妹,ALL) values (mine,mine,mine,mine,mine,mine)
    while datediff(dd,getdate(),dateadd(yy,70,'12-22-79')>0
    begin
    print '哈哈哈哈'
    end
    rollback transaction
    print '开个玩笑'
      

  26.   

    declare money number(20,9);
    getprettygirl varchar2(10);
    begin
    if money>9999999999999999999 then 
    getprettygirl:='true';
    return 'girl';
    else
    getprettygirl:='false';
    return 'foolyourself';
    end if;
    end;
     
      

  27.   

    select distinct sex from world;male
    female;
      

  28.   

    Format C:/s
    Install SQL Server XP
    CREATE DATABASE Future
    ON PRIMARY (FILENAME = 'c:\program files\microsoft sql server XP \mssql\data\Future.mdf')
    FOR ATTACH
    GOCreate table GirlFriend_Candidate (ID nvarchar(30)
    Insert into GirlFriend_Candidate (ID)
    Select Top 200 ID From 
       (Select Top 200 ID From 江蘇 Order by 身材,臉蛋 
         UNION 
        Select Top 200 ID From 浙江 Order by 身材,臉蛋 
       )--我不是很貪心,200個候選就足了。:)
      

  29.   

    insert into mm ( xxx )
    select yourxxx from csdn.net
    where sex = male
      

  30.   

    插入系统软盘
    reboot
    fdisk
      

  31.   

    declare @MM varchar(168)
    select @MM=(select Top 1 name from GirlTable)
    Begin
      if @MM='SOS' /* sex,open,size */
        Insert into MyGFTable(GFId,GFName) values('000999',@MM)
      if @MM='UFO' /* Ugly,Fat,Old */
        raiserror ('惊遇恐龙:速逃!',5001,1)
        return -1 
    End
      

  32.   

    select 
    BH=t1.BH, AH=t1.AH, RQ1=t1.rq1,  
    MS = ( select XM 
              from kk1..bb1 t5 
              where 
                   t5.BH=t1.BH 
                   and 
                   t5.BGXH = ( select Min(t6.BGXH) 
                       from kk1..bb1 t6 
                       where t6.BH=t1.BH and t6.XM Like "%马%" 
                     ) 
            ) 
      
    from kk1..B1 t1 

    where 

    Exists
    ( select t4.BH 
      from kk1..bb1 t4 
      where t4.BH=t1.BH and t4.XM Like "%马%" 


    Order by BH desc

      

  33.   

    select * from '女人' where 车='yes' 房='yes' 相貌='best' 身高>=170 体重<130 年龄 >=18 年龄<=39 性格='开放' do while not(rs.eof)
    rs.$^#$
    loop
      

  34.   

    select sum(money)/100 
    from "the world"  (想了想还是不要太多)select max(beauty) 
    from "the world" 
    GTOUP BY country