일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- vscode
- 머신러닝
- 데이터전문기관
- paragraph
- KNeighborsClassifier
- classification
- mglearn
- postorder
- 웹 용어
- 결합전문기관
- broscoding
- tensorflow
- pycharm
- web
- web 사진
- 대이터
- bccard
- Keras
- cudnn
- CES 2O21 참가
- 재귀함수
- web 용어
- inorder
- web 개발
- CES 2O21 참여
- C언어
- html
- 자료구조
- discrete_scatter
- java역사
- Today
- Total
목록전체 글 (689)
bro's coding

가져온 결과에서 중복을 제거한다. select distinct 컬럼명 from 테이블 명

select * from 테이블명 모든 테이블의 정보를 가지고 온다 일부 컬럼만 가져오기 select 컬럼명1, 컬럼명2 from 테이블명

use 데이터베이스 명; 사용할 데이터 베이스를 선택한다. Workbench 에서는 데이터베이스를 더블클릭하면 된다.

1. sample data https://github.com/datacharmer/test_db datacharmer/test_db A sample MySQL database with an integrated test suite, used to test your applications and database servers - datacharmer/test_db github.com 다운로드 후 압축풀기 2. path 설정 - cmd 창을 끄기 전까진 어디서든 sql을 실행 할 수 있다. mysql위치에서 bin폴더까지 3. 샘플 데이터 위치로 이동 cmd 명령 cd "샘플데이터의 위치 " 4. db에 data올리기 mysql -u root -p -t
https://dev.mysql.com/downloads/workbench/ MySQL :: Download MySQL Workbench Select Operating System: Select Operating System… Microsoft Windows Ubuntu Linux Red Hat Enterprise Linux / Oracle Linux Fedora macOS Source Code Select OS Version: All Windows (x86, 64-bit) Recommended Download: Other Downloads: Windows (x86, 64-bit), M dev.mysql.com