z**********i 发帖数: 88 | 1 如果我有下面数据。想保留
1.相同ID内,如果count=1 and c="no", 我就保留这样的record,但是不删除id=1的时
候。
2.比方说id=10133,我要删掉,因为x=vnum。id=10097,保留,因为count=1的时候,c
等于no,或者说x不等于vnum。谢谢
PTID visit_dt count x vnum c
10056 11/29/2005 0 3 3 y
10056 11/14/2006 1 4 no
10097 7/25/2006 0 2 2 y
10097 10/7/2008 1 4 3 no
10108 1/3/2006 0 3 3 y
10108 1/13/2009 1 6 5 no
10113 11/7... 阅读全帖 |
|
c*********s 发帖数: 63 | 2 终于弄好了。把下面的存成.bst文件,和Tex文件放在同一个文件夹就可以了。
%%
%% This is file `cellnew.bst',
%% generated with the docstrip utility, by HJ, 03/03/2013.
%%
%% The original source files were:
%%
%% merlin.mbs (with options: `ay,nat,nm-rvvc,nmlm,x10,x0,m10,m0,mcite,mct-1
,mct-x2,keyxyr,blkyear,dt-beg,yr-par,note-yr,atit-u,jttl-rm,thtit-a,vol-it,
vnum-x,volp-com,pp-last,num-xser,jnm-x,btit-rm,bt-rm,add-pub,pub-par,pre-pub
,edby,edbyy,blk-tit,ppx,ed,abr,ednx,xedn,jabr,url,url-blk,em-it,nfss,')
%% ----------------------... 阅读全帖 |
|
c*********s 发帖数: 63 | 3 终于弄好了。把下面的存成.bst文件,和Tex文件放在同一个文件夹就可以了。
%%
%% This is file `cellnew.bst',
%% generated with the docstrip utility, by HJ, 03/03/2013.
%%
%% The original source files were:
%%
%% merlin.mbs (with options: `ay,nat,nm-rvvc,nmlm,x10,x0,m10,m0,mcite,mct-1
,mct-x2,keyxyr,blkyear,dt-beg,yr-par,note-yr,atit-u,jttl-rm,thtit-a,vol-it,
vnum-x,volp-com,pp-last,num-xser,jnm-x,btit-rm,bt-rm,add-pub,pub-par,pre-pub
,edby,edbyy,blk-tit,ppx,ed,abr,ednx,xedn,jabr,url,url-blk,em-it,nfss,')
%% ----------------------... 阅读全帖 |
|