일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Hashtable
- arguments
- override
- Vector
- start()
- 객체형변환
- 추상클래스
- overload
- run()
- 콘크리트클래스
- MSA
- abstractclass
- fuction
- string
- object
- garbagecollection
- Polymorphism
- class
- 생성자
- eclipse
- Eureka
- ALTER
- concreteclass
- hamobee
- constantnumber
- super
- reference
- methodArea
- hashCode
- value
- Today
- Total
목록전체 글 (259)
뇌운동일지
조인 : 1개 이상의 테이블로 부터 테이터 검색 1. cross join : 무의미 만들 수 있는 모든 mapping을 만든다 테이블1의 행의 갯수 * 테이블2의 행의 갯수만큼의 행이 생김. ☆2. equi 조인 : 일치하는 행 선택 조인식 : 부서.부서코드 = 사원.부서코드 select 부서코드, 부서명, 사원명 from 부서, 사원 where 부서.부서코드 = 사원.부서코드 ; -> 부서코드는 양쪽에 모두 있어서 모호성 발생 : 어느 한쪽을 선택해주어야 함 부서. 부서코드 로 수정할 것 natural join 이나 join ~ using 사용 논리연산자 우선순위 문제 발생을 방지하기 위해 괄호 사용 필요 ☆3. non equi 조인 : age >= age 4. self join : 자신 테이블의 컬럼..
61. select stu_no, stu_name from student order by stu_dept, stu_gender desc, stu_grade ; 62. select lower(stu_gender) from student ; 63. select upper(stu_gender) from student; 64. select stu_dept || stu_name from student ; 65. select stu_dept||'과 '||stu_grade||'학년 '||stu_name||'입니다.' from student; 66. select stu_name, substr(stu_name, 1, 2) from student ; 67. select stu_name, substr(stu_dept, 2,..
22. column sub_prof heading '교수명'; select sub_name, sub_prof from subject; select from where
1. describe student; 2. describe subject; 3. select * from student; 4. select * from enrol; 5. select stu_no, stu_name from student; 6. 23. select sub_name, sub_prof from subject where sub_prof like '이%'; 24. select stu_dept || '과 ' ||stu_name||'입니다.' as 자기소개 from student; 25. select * from student where stu_dept = '컴퓨터정보'; 55. select stu_no, stu_name, stu_dept from student where stu_gender ='M'..
그룹함수 : 데이터 그룹에 대한 처리 결과를 반환 단일행 함수 : 각 행에 대해 처리된 결과를 반황 문자, 숫자, 날짜 SQL자체 대,소문자 구별은 없다. 하지만 값은 구별된다. (그런데 기본은 소문자) select now();
select [distinct]컬럼,,, ( 컬럼자리에 *