亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sqlug2.sas

?? SAS是功能強大的統計軟體
?? SAS
?? 第 1 頁 / 共 2 頁
字號:
   select empnum, empname     from employee    where empnum between 301 and 401; /* * In this example a WHERE expression is used to test for missing * values.  This query displays employees who have no supervisor, * that is, the EMPBOSS column has a missing value instead of a * supervisor's employee number. */   title2 'The Boss';   proc sql;   select empname, empboss     from employee    where empboss is null; /* * This example demonstrates a HAVING expression with a GROUP BY * clause.  This query lists customers and store numbers for * customers with two stores. * * The HAVING clause can be considered a "where clause" that is * applied to the groups formed by the GROUP BY clause. */   title2 'Customers that have two stores';   proc sql;   select custname, custnum, custcity     from customer    group by custname   having count(*)= 2    order by custname, 2, 3; /* * This is an example of querying multiple tables. The following * query shows the cost, invoice price, and list price for each * product sold to Beach Land stores. * It also demonstrates the use of qualifying column names when * joining tables with columns names in common. */   title2 'Product information for Beach Land stores';   proc sql;   select invnum, product.prodname, prodcost, invprice,          prodlist, custname, custnum     from product, invoice    where product.prodname = invoice.prodname      and custname = 'Beach Land'; /* * This is an example of joining tables by more than one column. * The query below lists sales made to the Ocean City stores. */   title2 'Sales made to ocean city stores';   select invoice.custname, invoice.custnum, custcity, invnum,          prodname     from invoice as i, customer as c     where invoice.custname = c.custname       and invoice.custnum  = c.custnum       and custcity   = 'Ocean City'; /* * This example shows how table aliases can be used. * Aliases are shorthand "nicknames" for tables. */   title2 'Sales made to ocean city stores';   proc sql;   select i.custname, i.custnum, custcity, invnum, prodname     from invoice as i, customer as c     where i.custname = c.custname       and i.custnum  = c.custnum       and custcity   = 'Ocean City'; /* * This example shows what happens when you join tables that have * duplicate values in the matching columns. * The two tables, PET and CITY, are created and displayed. */   proc sql;   create table pet     (person char,      pettype char (12));   insert into pet     values('Jack','collie')     values('Jack','parakeet')     values('Sue','horse')     values('Sue','goldfish');   title2 'Pet table';   select * from pet;   create table city     (person char,      cityname char (12));   insert into city     values('Jack','Atlanta')     values('Jack','Washington')     values('Sue','Cary')     values('Sue','Raleigh');   title2 'City table';   select * from city; /* * The query below joins the Pet and City tables by matching * on the PERSON column. */   title2 'Joining PET and CITY tables using PROC SQL';   select pet.person, pettype, city.person, cityname     from pet, city    where pet.person = city.person    order by 1,2,3,4; /* * This example demonstrates the difference between a SAS MERGE * and the SQL procedure. The data step treats multiple * occurences in the BY group in a different fashion than the * SQL join operator. */   title2 'Mergeing PET and CITY tables with the data step';   data;      merge pet city;      by person;      run;   proc print;      run; /* * This example demonstrates joining a table with itself.  This * kind of join is also called a reflexive join.  The query below * joins the City table with itself. */   proc sql;   select c1.person, c1.cityname, c2.person, c2.cityname      from city as c1, city as c2      order by 1,2,3,4; /* * This example demonstrates a REFLEXIVE JOIN with a WHERE * expression.  This query displays the supervisor name for each * employee who has a supervisor. * (A reflexive join implies joining a table with itself.) * * Notice the usage of alias names mgr and emp for the two * instances of the employee table. */   title2 'Supervisor names for each employee who has a supervisor';   select emp.empnum, emp.empname, emp.emptitle,          mgr.empnum as mgrnum, mgr.empname as mgrname,          mgr.emptitle as mgrtitle     from employee emp, employee mgr    where emp.empboss = mgr.empnum    order by 1; /* * This example demonstrates a three-way join.  The query below * lists sales made by Sam to customer stores located in * Charleston. */   title2 'Sales made by Sam to customer stores in Charleston';   proc sql;   select c.custname, c.custnum, i.prodname,          i.invnum, e.empname, c.custcity     from invoice i, employee e, customer c    where i.empnum    =  e.empnum      and i.custname  =  c.custname      and i.custnum   =  c.custnum      and e.empname   =  'Sam'      and c.custcity  =  'Charleston'    order by 1, 2, 3; /* * This example demonstrates a SUBQUERY.  The query below uses * a subquery to  connect the names Fred and Marvin in the * Employee table with their employee numbers in the Invoice table; * the employee numbers appear in both tables and therefore link * the tables. */   title2 'Employee information for Fred and Marvin';   proc sql;   select empnum, custname, custnum, prodname, invnum     from invoice    where empnum in ( select empnum                        from employee                       where empname in ('Fred','Marvin')                    )      order by 1,2,3,4; /* * The following query breaks down the above query, replacing * the subquery with values. */   select empnum, custname, custnum, prodname, invnum      from invoice      where empnum in (216,314)      order by 1,2,3,4; /* * This example uses the WHERE expression with NOT IN.  The * query lists products that did not sell. */   title2 'Products that did not sell';   select prodname     from product    where prodname not in (select prodname from invoice)    order by 1; /* * This example demonstrates a CORRELATED SUBQUERY.  This query * displays employee information about salesreps who sold * surfboards. */   title2 'Which Salesreps Sell Surfboards?';   proc sql;   select empnum, empname, empcity     from employee as e    where 'surfboard' in (select prodname                            from invoice as i                           where i.empnum = e.empnum                         )    order by 1; /* * This is an example of a SUBQUERY using the EXISTS condition. * This query lists the stores who did not buy any products from * our sample wholesale company. */   title2 'Stores who did not buy any products';   proc sql;   select distinct custname, custnum     from customer c    where not exists ( select *                         from invoice i                        where i.custname = c.custname                          and i.custnum  = c.custnum                     )      order by 1, 2; /* * In this example, multiple levels of SUBQUERY NESTING are used. * here we display salesreps who made sales to stores in Ocean * City. */   title2 'Salesreps who made sales to stores in Ocean City';   proc sql;   select empnum, empname     from employee    where empnum in (select empnum                       from invoice i                      where 'Ocean City' in (select custcity                                               from customer c                                      where c.custname = i.custname                                         and c.custnum  = i.custnum                                            )                    )     order by 1; /* * This example demonstrates the VALIDATE statement.  VALIDATE * is used to check the correctness of a SELECT statement's syntax * without actually executing the query. */   proc sql;   validate      select empnum, empname        from employee        where empnum > 200 and empnum < 400;quit;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩一区三区四区| 亚洲图片欧美一区| 欧美亚洲国产bt| 国产91综合网| 麻豆专区一区二区三区四区五区| 亚洲与欧洲av电影| 欧美高清在线精品一区| 精品欧美一区二区久久| 欧美高清视频www夜色资源网| youjizz国产精品| 国产成人综合在线| 激情欧美一区二区三区在线观看| 亚洲成人动漫在线观看| 亚洲制服欧美中文字幕中文字幕| 亚洲精品视频一区| 亚洲精品视频自拍| 亚洲色图欧美偷拍| 一区二区三区毛片| 亚洲成人一区在线| 日韩电影免费一区| 美洲天堂一区二卡三卡四卡视频| 日韩一区精品字幕| 日韩精品高清不卡| 激情av综合网| 国产剧情一区二区| 国产精品1区二区.| 99精品国产91久久久久久| 91网站在线播放| 欧美日韩激情在线| 91精品久久久久久久91蜜桃| 精品伦理精品一区| 国产欧美一区二区在线观看| 国产精品美女久久久久aⅴ| 亚洲色图视频网| 日韩精品午夜视频| 粉嫩在线一区二区三区视频| 成人av在线资源网站| 一本大道av伊人久久综合| 欧美人xxxx| 久久久久久久久免费| 中文字幕一区二区三区在线不卡| 中文字幕一区二区三区色视频| 亚洲精选免费视频| 久草热8精品视频在线观看| 国产大片一区二区| 91精品欧美综合在线观看最新| 在线播放中文一区| 亚洲国产一区二区三区 | 日韩一区二区电影| 色综合激情久久| 精品裸体舞一区二区三区| 国产午夜精品一区二区三区四区| 天天色 色综合| 粉嫩av一区二区三区粉嫩| 欧美系列亚洲系列| 亚洲视频香蕉人妖| 日韩电影在线观看一区| 国产电影一区在线| 欧美日韩国产一级| 亚洲美女免费视频| 色999日韩国产欧美一区二区| 天天亚洲美女在线视频| 乱一区二区av| 欧美精品1区2区| 91麻豆精品国产91| 91蜜桃免费观看视频| 色香蕉久久蜜桃| 欧美一区二区三区四区五区 | 国产欧美精品区一区二区三区| 久久网站热最新地址| 国产麻豆一精品一av一免费| 国产欧美日韩精品一区| 狠狠色丁香久久婷婷综合丁香| 欧美国产激情二区三区| 97精品久久久午夜一区二区三区 | 91碰在线视频| 久久精品免费在线观看| 国产精品久久久久久亚洲毛片 | 久久综合色播五月| 日韩精品久久理论片| 99精品热视频| 91精品免费观看| 亚洲一区二区不卡免费| 北条麻妃一区二区三区| 精品福利av导航| 丝袜美腿亚洲色图| 欧美系列在线观看| 日本va欧美va瓶| 精品国产乱码久久久久久免费| 免费欧美在线视频| 久久午夜老司机| 99精品偷自拍| 性欧美大战久久久久久久久| 日韩三级免费观看| 高清av一区二区| 亚洲精品高清在线| 欧美一区二区三区视频在线观看| 六月丁香综合在线视频| 久久久www成人免费毛片麻豆 | 亚洲大片一区二区三区| 精品奇米国产一区二区三区| 成人av网站在线观看免费| 亚洲精选免费视频| 日韩精品专区在线影院重磅| 国产 欧美在线| 亚洲国产精品一区二区www| 精品国产在天天线2019| 成人动漫中文字幕| 日韩国产欧美三级| 国产精品无人区| 欧美一区二区三区视频| 97久久久精品综合88久久| 日本欧美在线看| 日韩毛片一二三区| 精品蜜桃在线看| 欧美午夜宅男影院| 成人av在线电影| 伦理电影国产精品| 亚洲国产视频在线| 国产精品色婷婷久久58| 欧美一区二区三区视频| 一本色道a无线码一区v| 国产精品亚洲人在线观看| 亚洲成av人影院在线观看网| 国产精品你懂的在线| 日韩一区二区三区精品视频| 91丨九色porny丨蝌蚪| 激情五月婷婷综合| 亚洲高清视频中文字幕| 亚洲天堂av一区| 久久久久久久性| 精品国产一区二区三区四区四| 91福利精品视频| a4yy欧美一区二区三区| 国产精品888| 加勒比av一区二区| 麻豆成人91精品二区三区| 亚洲综合色在线| 亚洲婷婷在线视频| 国产精品拍天天在线| 久久久久高清精品| 精品国产免费人成电影在线观看四季| 欧美日韩国产美女| 欧美三日本三级三级在线播放| 99久免费精品视频在线观看| 国产综合色在线视频区| 久久国产福利国产秒拍| 日韩av网站免费在线| 三级在线观看一区二区| 香蕉加勒比综合久久| 午夜久久电影网| 日韩精品成人一区二区三区| 亚洲国产一区视频| 亚洲不卡一区二区三区| 日本在线不卡一区| 日本人妖一区二区| 黄色精品一二区| 国产在线播精品第三| 国产福利91精品一区| 国产成人精品免费| 99国产精品视频免费观看| 色先锋aa成人| 欧美三级视频在线播放| 欧美一区二区三区喷汁尤物| 欧美成人国产一区二区| 国产欧美日韩综合精品一区二区| 国产视频在线观看一区二区三区 | 亚洲人一二三区| 亚洲一区自拍偷拍| 秋霞国产午夜精品免费视频| 国产呦萝稀缺另类资源| 成人国产精品免费| 欧美日本在线观看| 亚洲精品在线观看网站| 国产精品伦理一区二区| 一级中文字幕一区二区| 青青草原综合久久大伊人精品优势| 久久福利视频一区二区| 丰满亚洲少妇av| 欧美亚洲免费在线一区| 精品国内二区三区| 亚洲美女电影在线| 久久精品国产77777蜜臀| 成人免费高清在线观看| 欧美美女视频在线观看| 久久一留热品黄| 一区二区三区精品久久久| 韩国毛片一区二区三区| 91女厕偷拍女厕偷拍高清| 欧美一区二区美女| 日韩毛片视频在线看| 美女视频黄 久久| 91老师片黄在线观看| 日韩三级免费观看| 亚洲另类在线视频| 国产精品一区一区| 欧美精品1区2区3区| 中文字幕亚洲精品在线观看| 日韩av不卡一区二区| 日本韩国一区二区|