예약어는 가 컬럼명으로 사용된 경우는 "" 사이에 표시한다. 그래서 이전전? 게시물에서 안되었던 것.. natural 이 예약어라서;; pgAdmin4 에서 예약어는 색깔이 다르게 표시되서 찾아보게 되었다. 일반 터미널은 검정색 글씨로만 보였기 때문에ㅎㅎ References https://www.cubrid.com/faq/3794218 CUBRID | FAQ & TIP - 예약어를 테이블명이나 컬럼명으로 사용시 예약어를 테이블명 혹은 컬럼명으로 그대로 사용하기 위해서는 쌍따옴표(“”)로 스트링 처리를 해주면 됩니다. 예를 들면SELECT “DATE”, UPDATE_DT FROM “YEAR”와 같은 방식입니다. www.cubrid.com
postgresql을 조금 더 편리하게 쓰기 위해 pgAdmin4 를 설치하기로 하였습니다. 다운로드 받아서 설치합니다. https://www.pgadmin.org/download/ Download Download pgAdmin is a free software project released under the PostgreSQL licence. The software is available in source and binary format from the PostgreSQL mirror network. Because compiling from source requires technical knowledge, we recommend installing www.pgadmin.org pgAdmin4 를 설치하..
진행중.. PostgreSQL 로 gpkg 를 업로드 하려면 postgis 라는 extended 가 필요해서 설치한다. brew install postgis http://postgis.net/install/ PostGIS — Installation Getting Started These instructions are for PostgreSQL 9.1 and higher, PostGIS 2.2 and higher that is compiled with raster support. Note: if you have postgis, without raster support, you can not use CREATE EXTENSION. Refer to PostGIS install. Enabling PostG po..
설치는 아래 글에 나온 것처럼 brew install 만 했습니다. 감사합니다. https://medium.com/@parkopp/mac-%EC%9C%A0%EC%A0%80%EB%A5%BC-%EC%9C%84%ED%95%9C-postgresql-%EC%84%A4%EC%B9%98-%EB%B0%8F-%EC%9C%A0%EC%A0%80-%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%B2%A0%EC%9D%B4%EC%8A%A4-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0-67f5b6e6753d Mac 유저를 위한 PostgreSQL 설치 및 유저,데이터베이스 설정하기 내가 PostgresSQL을 나의 맥북에 처음 세팅을 하게 되면서 겪었던 경험들을 여기에 공유 해 보려고 한다. 나같은 입..
EDB 로 설치했는데 망해서 지웠다. 설치는 이거 보고 했고 https://maron2ee.tistory.com/3 https://www.enterprisedb.com/postgres-tutorials/installation-postgresql-mac-os Installation of PostgreSQL on Mac OS | EDB Installation of PostgreSQL is easy on Mac OS and in the below blog, we will try to capture all the steps which are necessary to do so. www.enterprisedb.com [Mac-PostgreSQL] psql & pgAdmin 4 설치 및 실행 1. EDB 페이지에서 ..
328. Odd Even Linked List https://leetcode.com/problems/odd-even-linked-list/ Odd Even Linked List - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Language: C++ time: O(n), space: O(1) /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * Lis..
203. Remove Linked List Elements https://leetcode.com/problems/remove-linked-list-elements/ Remove Linked List Elements - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Language: C++ class Solution { public: ListNode* removeElements(ListNode* head, int val) { if (head != NULL) { L..
206. Reverse Linked List Level: Easy https://leetcode.com/problems/reverse-linked-list/ Language: C++ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode* reverseList(ListNode..