본문 바로가기

기타

MySQL: 실습:영화, movie insert 값 실습: https://yeo0616.tistory.com/129 https://yeo0616.tistory.com/130 하기 값 참고: 테이블 이름은 ctrl+ f 하여 fin&replace로 해당 테이블명으로 바꿔주자. --- insert into movie (title, summary, genre, attendance, year) values ('Planes', 'Morbi quis tortor id nulla ultrices aliquet. Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam.', 'Adventure|Animation|Comedy', 49040, '20.. 더보기
MySQL 실습: 좋아요, insert 값 좋아요 실습 관련 insert 쿼리문 원문: https://yeo0616.tistory.com/127 [MySQL] 실습: 좋아요 -- insert 값 : https://yeo0616.tistory.com/manage/posts/ 테이블 설정 후에 차례대로 실행하는 것이 중요 (foreign key 설정 영향) users 테이블 생성 및 설정 -> photos 테이블 -> follows 테이블 -> comments.. yeo0616.tistory.com insert 값 하기 참고 -- INSERT INTO users (username, created_at) VALUES ('Kenton_Kirlin', '2017-02-16 18:22:10.846'), ('Andre_Purdy85', '2017-04-02 .. 더보기
MySQL 실습: insert 값(orders) 예제 참고 : https://yeo0616.tistory.com/117 총 700개 하기는 insert 값 ---- insert into orders (order_date, amount, customer_id) values ('2019/10/27', 284.81, 2); insert into orders (order_date, amount, customer_id) values ('2020/02/08', 564.85, 97); insert into orders (order_date, amount, customer_id) values ('2019/11/05', 615.05, 87); insert into orders (order_date, amount, customer_id) values ('2019/10/.. 더보기
MySQL 실습: insert 값 (customers) 예제 참고: https://yeo0616.tistory.com/117 총 100개 데이터 insert 값 하기 참고 --- insert into customers (first_name, last_name, email) values ('Quintin', 'Whelpton', 'qwhelpton0@irs.gov'); insert into customers (first_name, last_name, email) values ('Netty', 'Ryhorovich', 'nryhorovich1@soundcloud.com'); insert into customers (first_name, last_name, email) values ('Yvette', 'Boys', 'yboys2@multiply.com'); ins.. 더보기
구글 드라이브, csv 파일이 google sheet로 변환될 때 구글 코랩에서 작업하려, csv 파일을 구글 드라이브에 업로드 할 때, google sheet로 변형되어, 파일을 못불러왔었다. 하기는 간단 해결 방법 구글드라이브 우상단의 설정 아이콘 클릭- '설정' 일반사항- '업로드된 파일을 Googld Docs 편집기 형식으로 변환' 체크 해제 더보기
[MySQL] safe mode에러 Error Code: 1175. You are using safe update mode and you tried to... - 진행하려고 하니, 에러가 떳다. safe mode 문제. 상단 메뉴에서 Edit - Preferences... 클릭 체크 되어있던 부분을 해제한다. MySQL을 종료하고, 재시작 해야 적용이 된다. 더보기
AWS - MySQL 연결 AWS에 회원가입-콘솔에 로그인-로그인 한 뒤, 상단 검색창에 RDS를 입력하여, 생성한다. 데이터베이스 하나 생성해준다. https://aws.amazon.com/ko/free/?all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all 무료 클라우드 컴퓨팅 서비스 - AWS 프리 티어 Q: AWS 프리 티어란 무엇입니까? AWS 프리 티어는 고객에게 서비스별로 지정된 한도 내에서 무료로 AWS 서비스를 살펴보고 사용해 볼 수 있는 기능을 제공합니다. 프리 티어는 12개월 프리 티어, 상 aws.ama.. 더보기
[Python_문제풀이] Functions 함수2 Q) 세 개의 숫자를 입력받아 가장 큰수를 출력하는 print_max 함수를 정의하라. 단 if 문을 사용해서 수를 비교하라. A) 풀이 1 ) def print_max(a,b,c): if a > b and a>c: return a elif b>a and b>c: return b elif c>a and c>b: return c 풀이 2 ) def print_mat(num1,num2,num3): if num1>num2 and num1 > num3: print(num1) elif num2 > num3: print(num2) else: print(num3) print_max(10,3,5) 풀이 3 ) max 함수를 사용하면 간단하다. def print_max(num1,num2,num3): num_list = .. 더보기