PROGRAM
--------------------------------------
*************************************
*************************************
WHERE CLAUSE: EXTRACT SEX='FEMALE'
*************************************;
PROC SQL ;
CREATE TABLE D_FEMALE AS SELECT *
FROM DEMOG
WHERE SEX='FEMALE' ;
QUIT ;
PROC SQL ;
CREATE TABLE D_FEMALE AS SELECT *
FROM DEMOG
WHERE SEX IN ('FEMALE') ;
QUIT ;
PROC SQL ;
CREATE TABLE D_FEMALE AS SELECT *
FROM DEMOG
WHERE SEX CONTAINS 'FEMALE' ;/*ONLY FOR CHARACTER.*/
QUIT ;
--------------------------------------
Post a Comment
別ページに移動します