医疗系统业务培训门诊收费_第1页
医疗系统业务培训门诊收费_第2页
免费预览已结束,剩余1页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、日识别,联系 诊日识别,联系 诊4)YJ_YJK2(医技库,汇总表)性6)MZ_CFK2(处方库,汇总表)7)8)YH_YHK(挂号库)保存号mz_mzsfk1里 () mz_cfk1 mz_mzsfk2 sfsb (Yj_yjk1 mz_mzsfk2 sfsb Selectmz_cfk1wheresfsb=34 找到cfsb=17 Mz_cfk1 与 mz_cfk2 cfsb 关联 Selectyj_yjk1Selectmz_cfk1wheresfsb=34 找到cfsb=17 Mz_cfk1 与 mz_cfk2 cfsb 关联 Selectyj_yjk1wheresfsb=34 Yj_yj

2、k1yj_yjk2 yjsb Selectmz_yjk2(注意哦where )(2) 使用语句:createtablemz_cwrb1_0223ect*from1 where rbxh=27o mz_cwrb1 value (select * Deletemz_cwrb2whererbxh=27; 汇总日报(没做汇总日报前,mz_cwrb1中,hzrq 与hzgh 是空的交单判别)被置 1;在 mz_hzrb 里,汇总日报的日报序号会被置上 Deletemz_hzrb2whererbxh=1472; 做了挂号日报后,在gh_ghk中,rbrqgh_cwrbrbxh rbxhGh_cwrb gh

3、_cwrbmx rbxh Delete gh_cwrb where rbxh =11; commit; Deletegh_cwrbmxwhererbxh=11;commit;删除挂号日报后,将gh_ghkrbrq Gh_cwrb gh_cwrbmx rbxh Delete gh_cwrb where rbxh =11; commit; Deletegh_cwrbmxwhererbxh=11;commit;删除挂号日报后,将gh_ghkrbrq 答:退费的前提条件是 .对应的日报日期置空即可。Update mz_mzsfk1setrbrq=nullwhere sfsb=59票作废。作废完了,将r

4、brq 打了。Updatemz_mzsfk1setcdpb=nullwheresfsb=59;pilevasHIS00/HIS00oracleplsql develop procedureFUNCTION,pileselectdistinctalter|type|name|compile;fromuser_source; spool off; brxzdm(3条)改回原来的值。注:a。b 如; brxzdm(3条)改回原来的值。注:a。b 如 pile 好 答: 先找到 中的主键是 jlxh, 再使用语句 select max(jlxh) from gh_ghk; 发现max(jlxh)=43

5、43 再改大些就可以了update gh_ghk set jlxh=50 where jlxh=43(改的不是这个表,而应该是 GY_XHB)多地方报错,要用 tool 工具,顺便回忆下怎么用用) xjnumber(10,2).使用语句:altertablegh_ghkaddxjaltertablegh_ghkmodifyxj11. 新程序打开报错 表加进去。Create ,是否使用该张视图viewtalbegh_ghk,:个人日报结算方式:0-1-允许将几天之内的个人日报结算方式:0-1-允许将几天之内的 0-1-1-0-同时退费 1-0-否SQL语句总结: (这部分写的很好1.select

6、count(*),brlbfrommz_mzsfk1whereczgh=DBAandrbrqisnullgroupbybrlb andbrlb=13.updatemz_mzsfk1setrbrq=nullwhereto_char(rbrq,yyyymmmdd)=30000223 4.altertablegh_ghkaddxjnumber(10,2); 5.altertablegh_ghkmodifyxjnumber(12,2); 7.update where null 掉czgh=DBAandsfrqsysdate-1; 将操作工号为DBA8.select* from gh_ghk where

7、 to_char(ghrq,yyyymmdd)=20090223; 9.Selecta.xj,a.tcjjje,a.zfje,a.tcjjj,a.*frommz_mzsfk1awhere jzkh=1001123andrbrqisnull 的(如果要groupby group语句有:select*frommz_mzsfk1whereSelect*frommz_mzsfk2where 。Select语句有:select*frommz_mzsfk1whereSelect*frommz_mzsfk2where 。Select*frommz_mzsfk1wherejzkh=110112orderbySelect * from mz_mzsfk2 where sfsb in (Select sfsb from mz_mzsfk1 jzkh=110112)orderbySelectcount(*),brlbfrommz_mzsfk2whererbrqisnullandczgh=123;(写错了哦的;。selecta.xj,a.tcjjje,a.zfje,a.tcjjj,a.zje,a.ybje,a.*frommz_mzsfk1awheresfsbin(selectfrommz_mzsfk

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论