Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 프록시패턴 #Gof #ProxyPattern #Proxy
- CentOS
- 데이터베이스
- GoF #빌더패턴 #Builder Pattern
- MariaDB #DB #기본쿼리 #select
- 자바 #인터페이스 #추상클래스 #abstract #
- Bridge Pattern #구조패턴 #Structure Pattern
- GOF #
- PostgreSQL
Archives
- Today
- Total
개발자 기초부터 시작하기
Maria DB - 여러 테이블간의 join 연습해보기
-- to_date 가 9999년 인건 null임 따로 처리를 해주어야함. select * from salaries where emp_no = 11007 order by to_date desc; -- 예제 1 : 각 사원별로 평균연봉 출력 및 내림차순 정렬. select emp_no, avg(salary) from salaries group by emp_no order by avg(salary) desc; -- 예제 2 : 각 현재 Manager 직책 사원에 대한 평균 연봉은 ? select emp_no, title from titles where title='manager'; select distinct title from titles; -- 예제 3 : 사원별 몇 번의 직책 변경이 있었는지 selec..
데이터베이스/MySQL 와 Maria DB
2019. 5. 8. 19:25