
1. 주제 EPL 구단 및 선수 정보 관리 프로그램 (※ EPL : English Premier League, 잉글랜드 축구 1부 리그) 2. 기획의도 평소에 즐겨보는 EPL 관련 데이터베이스를 만들어보고, 파이썬과 연동해 다양한 정보를 탐색하는 기능을 만들어보자! 3. DB 테이블 구성 3-1) clubs 테이블 (구단 정보) - clubName : 구단명 (기본키) - owner : 구단주 - coach : 감독 - stadium : 홈경기장 - esdate : 창립일 - ranking : 현재순위 3-2) players 테이블 (선수 정보) - playerName : 선수명 (기본키) - clubName : 구단명 (외래키) - birthDate : 생년월일 - nation : 국적 - height..

1. mysqlclient 파이썬에서는 MySQL 서버와 통신할 수 있는 파이썬용 데이터베이스 커넥터를 다양하게 지원 PyMySQL, mysqlclient를 가장 많이 사용 PyMySQL은 속도가 느리고 연습용, 사용법은 비슷하고 속도가 빠른 mysqlclient 권장 !pip install mysqlclient import MySQLdb 1-1) MySQL 접속하기 # MySQLdb.connect(host='IP주소', user='사용자', password='비밀번호', db='DB명') db = MySQLdb.connect(host='localhost', user='root', password='1234', db='kdt') 1-2) cursor 생성하기 하나의 DataBase Connection에 ..

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(문자열, 시..

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
- MySQLdb
- 고정위치
- JavaScript
- animation적용
- Enclosing
- FOR
- HTML
- 파이썬SQL연동
- 클래스문
- MySQL
- DB단어장
- 줄 간격
- __call__
- 출력
- EPL정보프로그램
- html이론
- DB프로그램만들기
- 박스사이징
- 폼
- 셋
- 로또번호생성
- 변수
- 솔로의식탁
- Python
- CSS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |