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

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

?? sqlug2.sas

?? SAS是功能強大的統計軟體
?? SAS
?? 第 1 頁 / 共 2 頁
字號:
 /****************************************************************/ /*          S A S   S A M P L E   L I B R A R Y                 */ /*                                                              */ /*    NAME: SQLUG2                                              */ /*   TITLE: EXAMPLES FROM CHAPTER TWO OF SQL USER'S GUIDE       */ /* PRODUCT: BASE                                                */ /*  SYSTEM: ALL                                                 */ /*    KEYS: SQL DATMAN SQLV61 MACRO FEEDBACK PRINT SUM GROUP in */ /*          ORDER BY WHERE LIKE BETWEEN NULL HAVING VALIDATE    */ /*   PROCS: SQL                                                 */ /*    DATA:                                                     */ /*                                                              */ /* SUPPORT: KMS, PMK                    UPDATE:                 */ /*     REF:                                                     */ /*    MISC:                                                     */ /*                                                              */ /****************************************************************/  title1 '*** sqlug2: SQL User Guide chapter two examples ***'; /*--------------------------------------------------------------*/ /*-- The following data steps create the permanent datasets   --*/ /*-- used in the SQL User's Guide examples.                   --*/ /*--------------------------------------------------------------*/data invoice;   input invnum custname $ 6-15 custnum empnum prodname $ 28-37      invqty invprice;   format invprice dollar.;   cards;280  Beach Land   16  215  snorkel      20    14290  Beach Land   16  216  flippers     15    19300  Beach Land   16  216  raft         20     7310  Coast Shop    3  318  windsurfer    2  1305320  Coast Shop    3  318  raft         30     6330  Coast Shop    5  318  snorkel       5    15340  Coast Shop    5  318  flippers     15    19350  Coast Shop    5  318  raft         40     6360  Coast Shop    5  318  snorkel      10    15370  Coast Shop   12  213  raft         10     7380  Coast Shop   14  417  windsurfer    1  1325390  Del Mar       3  417  flippers     30    18400  Del Mar       3  417  kayak         3   230410  Del Mar       8  417  raft         40     6420  Del Mar      11  417  raft         15     7430  Del Mar      11  417  snorkel      10    15440  Del Mar      11  417  flippers     20    19450  New Waves     3  215  flippers      5    20460  New Waves     3  215  flippers     10    20470  New Waves     6  213  snorkel      15    15480  New Waves     6  213  surfboard     4   735490  New Waves     6  213  snorkel      10    15500  Surf Mart   101  417  snorkel      20    14510  Surf Mart   101  417  surfboard     2   740520  Surf Mart   101  417  snorkel      12    15530  Surf Mart   118  318  flippers     15    19540  Surf Mart   118  318  raft         30     6550  Surf Mart   118  318  snorkel      10    15560  Surf Mart   127  314  flippers     25    19570  Surf Mart   127  314  surfboard     3   740run;data product;   input prodname $ 1-10 prodcost prodlist;   format prodcost prodlist dollar.;   cards;flippers      16    20jet ski     2150  2675kayak        190   240raft           5     7snorkel       12    15surfboard    615   750windsurfer  1090  1325run;data customer;   input custname $ 1-10 custnum custcity $ 22-36;   cards;Beach Land       16  Ocean CityCoast Shop        3  Myrtle BeachCoast Shop        5  Myrtle BeachCoast Shop       12  Virginia BeachCoast Shop       14  CharlestonDel Mar           3  Folly BeachDel Mar           8  CharlestonDel Mar          11  CharlestonNew Waves         3  Ocean CityNew Waves         6  Virginia BeachSea Sports        8  CharlestonSea Sports       20  Virginia BeachSurf Mart       101  CharlestonSurf Mart       118  SurfsideSurf Mart       127  Ocean IsleSurf Mart       133  Charlestonrun;data employee;   input empnum empname $ empyears empcity $ 20-34   emptitle $ 36-45 empboss;   cards;101   Herb     28  Ocean City      president     .201   Betty     8  Ocean City      manager     101213   Joe       2  Virginia Beach  salesrep    201214   Jeff      1  Virginia Beach  salesrep    201215   Wanda    10  Ocean City      salesrep    201216   Fred      6  Ocean City      salesrep    201301   Sally     9  Wilmington      manager     101314   Marvin    5  Wilmington      salesrep    301318   Nick      1  Myrtle Beach    salesrep    301401   Chuck    12  Charleston      manager     101417   Sam       7  Charleston      salesrep    401run; /*--------------------------------------------------------------*/ /*-- EXAMPLES FROM CHAPTER TWO OF SQL USER'S GUIDE BEGIN HERE --*/ /*--------------------------------------------------------------*/ /* * This example selects and displays the list price and product * name from the product table using proc print and proc sql. */proc print data=product noobs;run;proc sql;   title2 'List Prices and Product Names';   select prodlist, prodname     from product; /* * In this example an asterick (*) is used in place of column names * to select all the columns from the product table.  The order of * the columns displayed matches the order of the columns in the * table.  The FEEDBACK option writes the expanded form of the * SELECT on the SAS log. */   proc sql feedback;   select *      from product; /* * This example demonstrates the SUM function and the use of a * column alias.  This SELECT statement selects salesreps and * displays the salesrep city and the total number of service * years by city, sorted by the total number of service years. */   proc sql;   title2 'Salesrep information, sorted by years of service';   select empcity, sum(empyears) as totyears     from employee    where emptitle = 'salesrep'    group by empcity    order by totyears; /* * This example demonstrates that arithmetic expressions in the * SELECT clause can perform computations on numeric columns.  The * query below displays the percentage profit margin for each * product sold at fulllist price. */   title2 'Percentage of profit margin for each product';   proc sql;   select prodname, prodlist, prodcost,          (prodlist - prodcost) / prodlist     from product; /* * The following query selects all the columns and rows * from the Customer table and displays the resulting table. */   title2 'Customer Table';   proc sql;   select * from customer; /* * This example demonstrates GROUP BY.  In this query, the results * of the summary function are grouped by the city name, that is, * the number of EMPYEAR for each city are added using the SUM * function. */   title2 'Total years of service, by city';   select empcity, sum(empyears) as totyears     from employee    where emptitle = 'salesrep'    group by empcity; /* * This example demonstrates ORDER BY.  The query below displays * the Product table sorted by ascending list price. */   title2 'Product table sorted by list price';   proc sql;   select prodname, prodlist, prodcost     from product    order by prodlist; /* * This example demonstrates ORDER BY.  The query computes the * percentage profit margin for each product sold at full list * price.  The results are sorted in descending order by the * fourth column in the SELECT statement and in ascending order * by prodcost when the values of the fourth column have the same * value. */   title2 'Profit Margins';   proc sql;   select prodname, prodlist, prodcost,          (prodlist - prodcost) / prodlist     from product    order by 4 desc, prodcost asc; /* * This is an example of a WHERE expression using a comparison * operator.  This query on the Employee table displays only * those employees who have ten or more years of service. */   title2 'Employess with 10 or more years of service';   proc sql;   select empname, emptitle     from employee    where empyears >= 10    order by empname; /* * This is an example of a COMPOUND predicate.  The query * below displays employees who neither live in Ocean City * nor function as salesreps but who have more than ten * service years. */   title2 'EMPLOYEES WHO DO NOT LIVE IN OCEAN CITY NOR FUNCTION';   title3 'AS A SALESREP BUT HAVE MORE THAN TEN YEARS OF SERVICE';   proc sql;   select empname, emptitle, empcity, empyears     from employee    where (not (empcity = 'Ocean City' or emptitle = 'salesrep'))      and (empyears > 10); /* * These examples demonstrate the like operator used for pattern * matching.  This query displays each employee whose name begins * with the uppercase letter "S." */   title2 'Employees whose name begins with "S"';   proc sql;   select empname     from employee    where empname like 'S%'; /* * The query below selects each employee whose name ends with a * lowercase "k" and consists of exactly four letters. */   title2 'Employees who have a four letter name ending in "k"';   select empname     from employee    where empname like '___k'; /* * This example demonstrates a WHERE expression which tests for a * membership in a set of values.  This query displays employees * who have worked for one, five, or ten years. */   title2 'Employees who have worked for one, five, or ten years';   proc sql;   select empname, empyears     from employee    where empyears in (1,5,10); /* * This example demonstrates a WHERE expression testing for a * range of values. * In the query the BETWEEN range selects and displays all the rows * whose employee numbers fall between the employee numbers 301 and * 401, including these numbers. */   title2 'Employee numbers between 301 AND 401';   proc sql;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷久久一区二区三区麻豆| 精品一区二区三区在线观看| 久久久久国产精品麻豆| 91精品国产全国免费观看| 欧美在线综合视频| 欧美日韩一区二区三区免费看 | 亚洲视频在线一区| 国产精品美女久久久久久久久| 欧美经典一区二区三区| 日本一区二区三区四区| 国产精品短视频| 亚洲六月丁香色婷婷综合久久| 亚洲男人天堂av网| 午夜影视日本亚洲欧洲精品| 日日夜夜精品视频免费| 另类小说欧美激情| 国产精品亚洲а∨天堂免在线| 国产91精品一区二区| 99久久国产免费看| 欧美三级资源在线| 日韩欧美色综合网站| 国产日韩欧美在线一区| 亚洲精品菠萝久久久久久久| 日韩成人免费在线| 国产精品中文欧美| 色婷婷激情一区二区三区| 欧美日韩午夜在线视频| 精品国产在天天线2019| 亚洲精品国久久99热| 日本美女一区二区| 成人永久看片免费视频天堂| 欧美在线免费视屏| 久久亚洲春色中文字幕久久久| 亚洲欧洲一区二区在线播放| 香蕉成人伊视频在线观看| 狠狠色伊人亚洲综合成人| 91丨九色丨国产丨porny| 91精品福利在线一区二区三区 | 国产精品一区二区三区99| 成人美女在线观看| 欧美一级搡bbbb搡bbbb| 成人欧美一区二区三区白人| 日本成人在线电影网| 99精品视频在线观看免费| 欧美一区二区三区免费在线看| 国产精品久久免费看| 美女一区二区在线观看| 色94色欧美sute亚洲线路一ni | 亚洲视频小说图片| 久草热8精品视频在线观看| 色先锋aa成人| 国产午夜精品久久久久久久| 亚洲综合激情小说| 福利视频网站一区二区三区| 91精品国产综合久久久久| 国产综合色产在线精品| 国产99一区视频免费| 欧美日韩免费电影| 《视频一区视频二区| 国精产品一区一区三区mba视频| 欧美优质美女网站| 综合欧美亚洲日本| 丁香婷婷综合五月| 久久色成人在线| 久久成人av少妇免费| 在线不卡中文字幕播放| 亚洲一区在线电影| 91丨九色丨尤物| 日韩毛片在线免费观看| 福利91精品一区二区三区| 亚洲精品一线二线三线| 蓝色福利精品导航| 91精品国产综合久久久蜜臀图片| 洋洋成人永久网站入口| 91蜜桃免费观看视频| 国产精品久久久久影院亚瑟| 高清日韩电视剧大全免费| 久久久久久免费| 国产丶欧美丶日本不卡视频| 久久精品一区蜜桃臀影院| 国产综合久久久久影院| 国产婷婷一区二区| 成人免费va视频| 中文字幕视频一区| 91在线视频免费91| 亚洲激情一二三区| 欧美人与z0zoxxxx视频| 奇米精品一区二区三区四区| 精品久久人人做人人爽| 国产91精品在线观看| 亚洲美女屁股眼交3| 欧美三级电影网站| 久久精品国产亚洲高清剧情介绍 | 99re热这里只有精品免费视频| 国产精品久久久久一区| 色综合久久综合网欧美综合网| 一区二区三区精品| 3d动漫精品啪啪| 国产一区二区三区黄视频 | 五月天激情小说综合| 欧美一级专区免费大片| 国产精品66部| 一区二区三区免费| 欧美成人免费网站| 日韩免费观看高清完整版 | 亚洲一区二区精品3399| 日韩一卡二卡三卡四卡| 成人一区在线观看| 亚洲bt欧美bt精品| 国产欧美精品一区二区色综合| 色婷婷av一区二区三区大白胸| 强制捆绑调教一区二区| 国产精品嫩草影院com| 欧美日韩性生活| 成人动漫一区二区在线| 日韩精品国产欧美| 国产精品久久久久婷婷二区次| 欧美日韩激情在线| 成人高清免费观看| 久久er精品视频| 亚洲一区二区综合| 中文字幕av不卡| 日韩午夜三级在线| 91电影在线观看| 丁香婷婷综合激情五月色| 日韩激情在线观看| 亚洲少妇30p| 日本一区二区三区在线不卡| 欧美一区二区三区免费观看视频| 91同城在线观看| 成人免费视频视频| 激情综合网最新| 青青国产91久久久久久| 一级特黄大欧美久久久| 国产精品进线69影院| 久久婷婷国产综合国色天香| 3d动漫精品啪啪| 欧美日韩一区不卡| 色婷婷综合久久久中文一区二区 | 中文字幕日本乱码精品影院| 精品国产成人系列| 欧美高清视频不卡网| 色999日韩国产欧美一区二区| 国产成人免费视频一区| 精品一二三四区| 麻豆精品一二三| 偷偷要91色婷婷| 午夜欧美2019年伦理| 亚洲一级在线观看| 亚洲一区二区高清| 亚洲高清视频的网址| 一区二区三区蜜桃| 亚洲国产精品久久久久秋霞影院| 一区二区免费在线| 亚洲一区中文日韩| 亚洲成人午夜电影| 日韩精品亚洲专区| 免费看日韩a级影片| 美女网站在线免费欧美精品| 麻豆国产精品视频| 韩国成人在线视频| 国产999精品久久久久久| 成人污污视频在线观看| youjizz久久| 色偷偷88欧美精品久久久| 欧美性猛交xxxxxx富婆| 欧美日韩国产综合久久 | 日韩高清不卡一区二区三区| 免费成人美女在线观看.| 麻豆久久一区二区| 国产成人综合在线观看| 不卡一区二区三区四区| 在线精品亚洲一区二区不卡| 欧美浪妇xxxx高跟鞋交| 精品av综合导航| 国产精品九色蝌蚪自拍| 亚洲自拍偷拍图区| 蜜桃久久精品一区二区| 国产成人a级片| 在线观看亚洲a| 日韩免费看的电影| 亚洲欧洲日韩女同| 天堂蜜桃一区二区三区| 国产在线精品国自产拍免费| 99天天综合性| 欧美一激情一区二区三区| 国产片一区二区| 一个色妞综合视频在线观看| 蜜桃一区二区三区在线观看| eeuss影院一区二区三区| 7777精品伊人久久久大香线蕉 | 在线播放中文字幕一区| 国产午夜一区二区三区| 一区二区三区久久久| 国产一区二区三区最好精华液| 91亚洲午夜精品久久久久久| 日韩精品一区二区三区在线| 亚洲丝袜美腿综合| 国产精品一区免费在线观看| 欧美无乱码久久久免费午夜一区|