
1. MySQL 문자열 함수 1-1) concat 복수의 문자열을 연결해주는 함수 select concat('안녕하세요!', 'MySQL') as concat; select * from member; select concat(address1, ' ', address2, ' ', address3) as address from member where userid='apple'; 1-2) left, right 왼쪽 또는 오른쪽에서 길이만큼 문자열을 가져옴 select left('ABCDEFGHIJKLMN', 5); # ABCDE select userid, left(userpw, 2) as password from member; 1-3) substring 문자열의 일부를 가져옴 - substring(문자열, 시..

1. 데이터베이스 생성/선택 create database [데이터베이스명]; use [데이터베이스명]; drop database [데이터베이스명]; show database; # 데이터베이스 전체 보기 2. 테이블 확인/삭제 desc [테이블명]; # 테이블 구성요소 확인 drop table [테이블명]; # 테이블 삭제 4. 필드(열) 추가/수정/삭제 1) 추가 alter table [테이블명] add [필드명] varchar(10); -- not null 제약조건 불가능, 새로 추가한 순간 빈칸이므로 2) 수정 alter table [테이블명] modify column [필드명] varchar(20); 3) 삭제 alter table [테이블명] drop [필드명]; ※ CRUD (Create Rea..

https://dev.mysql.com/downloads/installer/ MySQL :: Download MySQL Installer Note: MySQL 8.0 is the final series with MySQL Installer. As of MySQL 8.1, use a MySQL product's MSI or Zip archive for installation. MySQL Server 8.1 and higher also bundle MySQL Configurator, a tool that helps configure MySQL Server. dev.mysql.com 위 링크에서 설치 계속 Next로 넘겨주다가 중간중간 주의해야할 부분만 살펴보겠다. (설치 시 주의사항) 1. Full로 설치!..
- Total
- Today
- Yesterday
- trasform
- html이론
- 줄 간격
- animation적용
- HTML
- 출력
- 셋
- Enclosing
- 변수
- MySQLdb
- DB단어장
- 폼
- EPL정보프로그램
- 클래스문
- 리스트
- JavaScript
- 절대위치
- 파이썬SQL연동
- CSS
- Python
- DB프로그램만들기
- 박스사이징
- FOR
- 고정위치
- MySQL
- 상대위치
- 닷홈
- 로또번호생성
- __call__
- 솔로의식탁
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |