본문 바로가기

MySQL3

[코딩테스트] 프로그래머스 MySQL: 특정 물고기를 잡은 총 수 구하기 프로그래머스 MySQL: 특정 물고기를 잡은 총 수 구하기https://school.programmers.co.kr/learn/courses/30/lessons/298518 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 낚시앱 데이터베이스에서특정 물고기(BASS, SNAPPER)를 몇 마리 잡았는지 구하는 SQL 문제다. 테이블은 두 개로 구성되어 있다. FISH_INFO 👉 잡은 물고기 정보 (종류는 숫자로 저장)IDFISH_TYPELENGTHTIME00302021/12/0410502020/03/0720402020/03/0731202022/03/0941NULL2022/04/0852132021/04/28606.. 2026. 2. 23.
MySQL 설치부터 비밀번호 초기화까지 (feat. DBeaver) MySQL 설치부터 비밀번호 초기화까지1️⃣ MySQL 설치// Homebrew로 설치brew install mysql// 설치 완료 후 버전 확인mysql --version2️⃣ 환경변수(PATH) 설정MySQL 명령어를 어디서든 실행하려면 PATH 설정이 필요하다. 터미널 실행하면 뭘 사용하고 있는지 확인할 수 있다. zsh 사용하는 경우 (기본 macOS)open ~/.zshrc bash 사용하는 경우open ~/.bash_profile 명령어를 실행하면 에디터가 나온다. 파일 맨 아래에 추가하자.export PATH="$PATH:/usr/local/mysql/bin" ⚠️ M1/M2 맥이면 /opt/homebrew/opt/mysql/bin 일 수도 있음확인 방법which mysql 저장 후 .. 2026. 2. 20.
NestJS 회원가입/로그인 구현하기(feat. MySQL) NestJS 회원가입/로그인 구현하기(feat. MySQL)DB 설계 → Entity → Module/Service → Controller → Auth/JWT 적용 0. DB 연동https://docs.nestjs.com/techniques/configuration Documentation | NestJS - A progressive Node.js frameworkNest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Pro.. 2025. 8. 30.