{"title":"SQL在医院统计中的应用","authors":"Xue Lixiang","doi":"10.25236/FMSR.2021.030406","DOIUrl":null,"url":null,"abstract":"In hospital statistics, due to the difference of data query language, the hospital statistical results are often quite different from the actual data. Therefore, the application of SQL in hospital statistics is proposed. Use java + spark SQL to read the data information to be counted in the hospital, and have an in-depth understanding of common basic tables and fields, so as to facilitate the smooth completion of subsequent statistical work. Using structured query language, the statistical indicators such as postoperative complications, disease ranking and workload of the surgeon are written into SQL statements, and finally the SQL statement integration results are presented in the form of tables. The experimental results show that compared with the two statistical methods proposed in the literature, the statistical error is reduced by 30.25% and 35.61%.","PeriodicalId":129141,"journal":{"name":"Frontiers in Medical Science Research","volume":"98 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Application of SQL in hospital statistics\",\"authors\":\"Xue Lixiang\",\"doi\":\"10.25236/FMSR.2021.030406\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In hospital statistics, due to the difference of data query language, the hospital statistical results are often quite different from the actual data. Therefore, the application of SQL in hospital statistics is proposed. Use java + spark SQL to read the data information to be counted in the hospital, and have an in-depth understanding of common basic tables and fields, so as to facilitate the smooth completion of subsequent statistical work. Using structured query language, the statistical indicators such as postoperative complications, disease ranking and workload of the surgeon are written into SQL statements, and finally the SQL statement integration results are presented in the form of tables. The experimental results show that compared with the two statistical methods proposed in the literature, the statistical error is reduced by 30.25% and 35.61%.\",\"PeriodicalId\":129141,\"journal\":{\"name\":\"Frontiers in Medical Science Research\",\"volume\":\"98 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-08-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Frontiers in Medical Science Research\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.25236/FMSR.2021.030406\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Medical Science Research","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.25236/FMSR.2021.030406","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
In hospital statistics, due to the difference of data query language, the hospital statistical results are often quite different from the actual data. Therefore, the application of SQL in hospital statistics is proposed. Use java + spark SQL to read the data information to be counted in the hospital, and have an in-depth understanding of common basic tables and fields, so as to facilitate the smooth completion of subsequent statistical work. Using structured query language, the statistical indicators such as postoperative complications, disease ranking and workload of the surgeon are written into SQL statements, and finally the SQL statement integration results are presented in the form of tables. The experimental results show that compared with the two statistical methods proposed in the literature, the statistical error is reduced by 30.25% and 35.61%.