| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 쿼리
- golang
- 클라우드
- 자바
- Spring Cloud
- 디자인 패턴
- feign
- 코딩
- MST
- 데이터베이스
- retry
- Kafka
- db
- 오라클
- MVC
- 운영체제
- DP
- 페이징
- aws
- PL/SQL
- SQL
- Spring
- Intellj
- Spring Boot
- JPA
- Jenkins
- 알고리즘
- 자료구조
- 백준
- Spring Cloud Feign
- Today
- Total
목록전체 글 (141)
justgo_developer
오라클 기본함수 : 문자함수 ■ concat(char1, char2)select concat('Hello', 'bye'), concat('good', 'bad') from dual;: 문자열 합치기 -> Hellobye, goodbad 반환= select 'good' || 'bad' from dual; ■ initcap(char)select initcap('good morning') from dual;: 첫문자를 대문자로 변경 -> Good Morning 반환 select initcap('good/bad morning') from dual;-> Good/Bad Morning 반환 ■ lower(char) / upper(char)select lower('GOOD') from dual;: 소문자로 변경 ->..
오라클 기본 함수 ■ likewhere 필드명 like '_a%';: 필드명 중 2번째 글자가 a인 조건 where 필드명 like '__a%';: 필드명 중 3번째 글자가 a인 조건 ■ iswhere 필드명 is null;: 값이 null인 경우 where 필드명 is not null;: 값이 null이 아닌 경우 ■ order byorder by 필드명 asc;: 필드명으로 오름차순으로 출력 * asc 생략 가능* desc: 내림차순 ■ sumselect sum(필드명)from 테이블명;: 필드명의 전체 합계 ■ countselect count(*)from 테이블명;: 전체 레코드 수 select count(all 필드명), count(distinct 필드명) from 테이블 명;: 중복제거 또는 중..
■ descdesc Table명: 테이블 구조 표시 ■ asselect 필드명 as "변경할 이름"-> 변경할 이름으로 출력( as 생략 가능) ■ distinctselect distinct 필드명: 중복제거 ■ notwhere not( 필드명 = 값 );= where 필드명 값 ;: 조건이 아닌경우 ■ and / orwhere 필드명 = 값 and(or) 필드명 = 값 ; ■ betweenwhere 필드명 between 값1 and 값2;: 값1 ~ 값2 사이 ■ inwhere 필드명 in ( 값1, 값2, 값3);: 필드명= 값1, 필드명=값2, 필드명=값3 인 조건 ■ likewhere 필드명 like 'D%';: 필드명이 D로 시작하는 조건 where 필드명 like '%d';: 필드명이 d로 끝..