Database

· Database
1. PostgreSQL 다운로드 받기 링크 : https://www.postgresql.org/download/windows/ PostgreSQL: Windows installers Windows installers Interactive installer by EDB Download the installer certified by EDB for all supported PostgreSQL versions. Note! This installer is hosted by EDB and not on the PostgreSQL community servers. If you have issues with the website it's hoste www.postgresql.org 2. 상단에 Download the..
· Database
Mysql 에서 UPDATE문을 사용하여 테이블 내 전체 레코드 내용을 수정하는 방법 UPDATE {테이블명} SET {수정할_필드명_1} = {데이터}, {수정할_필드명_1} = {데이터} 예시 UPDATE user_data SET status=1 Mysql 에서 UPDATE문을 사용하여 특정 레코드 내용만 수정하는 방법 UPDATE {테이블명} SET {수정할_필드명_1} = {데이터}, {수정할_필드명_1} = {데이터} WHERE {조건_필드명} = {데이터} 예시 UPDATE user_data SET status=0 WHERE user_type='basic'
· Database
DB 작업 시 특정 테이블에서 다른 특정 테이블로 필드를 업데이트를 하고 싶을 때 사용할 수 있는 방법, 쿼리 UPDATE 옮길_테이블 as tableA, 원본_테이블 as tableB SET tableA.stream_service_name = tableB.stream_service_name, tableA.provider_id = tableB.provider_id, tableA.stream_service_name = tableB.stream_service_name, tableA.backdrop_image = tableB.backdrop_image, tableA.streaming_title = tableB.streaming_title, tableA.streaming_sub_title = tableB.str..
vipDeveloper
'Database' 카테고리의 글 목록