| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
- 추상클래스
- Validations
- angular2
- 자바 야구게임
- 전체텍스트
- Random
- 업캐스팅
- 스프링
- 다운캐스팅
- 자바
- 야구게임
- Login with OAuth Authentication
- while
- 로또
- 형변환
- Full text
- 다형성
- IBatis procedure
- 전체
- 가변인자
- full text indexing
- 단축키
- 상속예제
- 25가지 효율적인 sql작성법
- 이클립스
- 상속
- 페이징
- jquery
- 전자정부
- Today
- Total
목록2015/12/21 (3)
nalaolla
SELECT * FROM tab; SELECT * FROM employees; SELECT DISTINCT job_id FROM employees;SELECT ALL job_id FROM employees; --1.사원테이블에서 사원번호와 급여를 출력하시오.SELECT employee_id,salary FROM employees;--2.사원테이블에서 사원번호와 급여를 내림차순으로 출력하시오.SELECT employee_id,salary FROM employeesORDER BY salary DESC; --3.사원테이블에서 사원번호와 급여를 내림차순으로 출력하시오.-- 단 사원번호가 200번 이상인 사람들만.SELECT employee_id,salary FROM employeesWHERE employee_i..
merge INTO test_marge tm USING test1 t1ON (tm.pnum = t1.pnum)when Matched ThenUPDATE SET tm.p2num = t1.p2num, tm.pcount=t1.pcount, tm.price=t1.pricewhen NOT Matched thenINSERT VALUES (t1.pnum, t1.p2num, t1.pcount, t1.price); test1에 있는 데이터를 test_merge테이블에 병합.. test_merge에 있는 pnum과 test1테이블의 pnum과 동일할 경우 update...매칭되는 pnum이 없을 경우 insert
ZipCodeMain.java package test.com.zipcode; import java.sql.CallableStatement;import java.sql.Connection;import java.sql.DriverManager;import java.sql.ResultSet;import java.sql.SQLException; public class ZipCodeMain { public static final String DRIVER_NAME = "oracle.jdbc.driver.OracleDriver"; public static final String URL = "jdbc:oracle:thin:@localhost:1521:javagroup"; public static final String..