카페검색 본문
카페글 본문
-
해당카페글 미리보기
-
Re: 문제44. (답글로 올려야할 문제) 부서번호, 부서번호별 토탈월급을 출력하시오 2023.03.03해당카페글 미리보기
SQL> select deptno, sum(sal) from emp group by deptno; R> x<- aggregate(sal ~ deptno , emp, sum) names(x) <- c('deptno','sumsal') # 컬럼명 변경 x Python> x = emp.groupby('deptno')['sal'].sum().reset_index() x.columns = ['deptno','sumsal'] x
-
Re: 문제44. (답글로 올려야할 문제) 부서번호, 부서번호별 토탈월급을 출력하시오 2023.03.03해당카페글 미리보기
# sql select deptno, sum(sal) from emp group by deptno; # R a <- aggregate( sal ~ deptno, emp, sum ) names(a) <- c('deptno','sumsal') a # python a = emp.groupby('deptno')['sal'].sum().reset_index() a.columns = ['deptno','sumsal'] a
-
Re: 문제44. (답글로 올려야할 문제) 부서번호, 부서번호별 토탈월급을 출력하시오 2023.03.03해당카페글 미리보기
SQL select deptno, sum(sal) from emp group by deptno; R x <- aggregate(sal ~ deptno, emp, sum) names(x) <- c("deptno","sumsal") x Python x = emp.groupby('deptno')['sal'].sum().reset_index() x.columns = ['job','sumsal'] #컬럼명 변경 x
-
Re: 문제44. (답글로 올려야할 문제) 부서번호, 부서번호별 토탈월급을 출력하시오 2023.03.03해당카페글 미리보기
#SQL select deptno, sum(sal) from emp group by deptno; #R x <- aggregate(SAL ~DEPTNO, emp,max) names(x) <- c('deptno','sumsal') x #python x = emp.groupby('deptno')['sal'].max().reset_index() x.columns = ['deptno','sumsal'] x
-
Re: 문제44. (답글로 올려야할 문제) 부서번호, 부서번호별 토탈월급을 출력하시오 2023.03.03해당카페글 미리보기
select deptno, sum(sal) from emp group by deptno; z <- aggregate( sal~deptno, emp, sum ) names(z) <- c("deptno", "sumsal") z z = emp.groupby('deptno')['sal'].sum(). reset_index() z.columns = ['deptno', 'sumsal'] z
-
Re: 문제44. (답글로 올려야할 문제) 부서번호, 부서번호별 토탈월급을 출력하시오 2023.03.03해당카페글 미리보기
SQL> select deptno, sum(sal) 2 from emp 3 group by deptno; R> dept_sal <- aggregate(sal ~ deptno, emp, sum) dept_sal Python> x = emp.groupby('deptno')['sal'].sum().reset_index() x.columns = ['deptno', 'sumsal'] x
-
정책 및 연구자료 2023.02.07해당카페글 미리보기
Mobility in Developing Countries (World Bank) Do Cash Transfer Programs Protect from Poverty in the Case of Aggregate Shocks? A Study on Typhoon Yolanda in the Philippines (World Bank) Can you spot a scam? Measuring and improving scam...
-
공무원어휘, 경찰어휘, 편입어휘 기출문제(보카바이블닷컴) -008 2023.02.03해당카페글 미리보기
② 가난한 사람들을 위해 주택여건을 개선하고자하던 노력이 정부기금이 끊기자 중단되었다. 80. The guns captured will aggregate five or six hundred. ① be approximate ② arm ③ amount to ④ be less than 정답③ 포획된 총기는 5~6백정에 달할 것...
-
[문제+해설] 공무원어휘, 경찰어휘, 편입어휘 기출문제(보카바이블닷컴) - 008 2023.02.03해당카페글 미리보기
② 가난한 사람들을 위해 주택여건을 개선하고자하던 노력이 정부기금이 끊기자 중단되었다. 80. The guns captured will aggregate five or six hundred. ① be approximate ② arm ③ amount to ④ be less than 정답③ 포획된 총기는 5~6백정에 달할 것...