MySQL (5) 썸네일형 리스트형 Nest.js Swagger UI , Prisma 사용하기 Prisma를 이용한 Mysql 연결 및 REST API 작성 방법 npm install --save @nestjs/swaggerhttps://docs.nestjs.com/openapi/introduction#installation 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 Programming), FP (Functional Programming), and FRP (Function.. Ubuntu -MySQL 설치시 의존성 에러 ? Ignoring file 'tor-project' in directory '/etc/apt/sources.list.d/' as it has no filename extension 기존:28 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 Release 받기:29 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease [270 kB] 기존:30 https://ppa.launchpadcontent.net/maarten-fonville/android-studio/ubuntu jammy InRelease 기존:31 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 Release 기존:33 https://ppa.launchpadcontent.net/recoll-backports/recoll-1.15-on/ubuntu jammy InR.. 데이터 베이스 Primary Key 설정 하고 싶은데 중복 된 값 때문에 못할때 중복 값 제거하는 쿼리 Query Mysql 기반입니다. 우선 문제가 생길 수 있으니 항상 테이블을 복제 하여 테스트 해보고 적용하는 것은 기본입니다. 테이블 구조와 데이터 복사 create table EV_STATION_API2 (select * from EV_STATION_API) create table EV_STATION_API2 as select * from EV_STATION_API 복제가 되었으면 쿼리를 테스트 해봅니다. EV_STATION_API 테이블에서 evId 열을 기준으로 중복된 행을 제거하려면 DELETE 문을 사용하여 JOIN 및 서브쿼리를 사용할 수 있습니다. 다음은 이 작업을 수행하는 SQL 쿼리입니다: DELETE e1 FROM EV_STATION_API e1 JOIN ( SELECT evId, MIN(no).. DATABASE MySQL - MySQL 설치 방법 2가지 (wamp , cloud IDE) https://dev.mysql.com/downloads/mysql/ MySQL :: Download MySQL Community Server Select Operating System: Select Operating System… Microsoft Windows Ubuntu Linux Debian Linux SUSE Linux Enterprise Server Red Hat Enterprise Linux / Oracle Linux Fedora Linux - Generic Oracle Solaris macOS Source Code Select OS Version: All Windows (x86 dev.mysql.com 이렇게 바로 내 피씨에 Mysql을 설치해도 되지만 이런게 있다 Mysql 설치 경로 확.. Node.js - MySQL 연동 /MySQL로 홈페이지 구현 -- -- Table structure for table `author` -- CREATE TABLE `author` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(20) NOT NULL, `profile` varchar(200) DEFAULT NULL, PRIMARY KEY (`id`) ); -- -- Dumping data for table `author` -- INSERT INTO `author` VALUES (1,'egoing','developer'); INSERT INTO `author` VALUES (2,'duru','database administrator'); INSERT INTO `author` VALUES (3,'taeho','data.. 이전 1 다음