본문 바로가기
인턴/준비

속성 SQL

by 사향낭 2022. 2. 28.

Database는 몇 년 전 수업을 듣고는 손도 대지 않았다.

 

속성으로 SQL 쿼리문을 어떻게 쓰는지 빨리 공부할 생각이다.

 

 

일단 PostgreSQL을 깔았는데 실제로 쓸지는 모르겠다.

 

문법은 대충 tutorial을 참고할 생각.

 

 

PostgreSQL Tutorial - Learn PostgreSQL from Scratch

Welcome to the PostgreSQLTutorial.com website! This PostgreSQL tutorial helps you understand PostgreSQL quickly. You’ll master PostgreSQL very fast through many practical examples and apply the knowledge in developing applications using PostgreSQL. If yo

www.postgresqltutorial.com

 

컴퓨터에 데이터베이스 다운받아서 연습하는 것보다는 그냥 programmers, hackerrank 같은 사이트에서 문제 많이 풀어볼 계획이다.

 

leetcode같은 경우 문제 분류가 잘 되어있지 않아 내가 원하는 문제를 찾는것이 귀찮을 것 같아 pass

 

 

대소문자 구분이 없다는 얘기를 들은 기억이 얼핏 나는데 실행시켜보니 확실히 없는 것 같다.

 

clause 처리 순서

 

 

  • select
  • from
  • where
  • order by (desc)
  • group by
  • limit (offset)
  • distinct (on)
  • join on
  • with recursive as
  • max, min, hour, ifnull, date_format
  • between is not or and like
  • case when then else end

 

 

프로그래머스는 싹 밀었다.

 

hackerrank는 문제가 상당히 많아보이는데 다른 걸 공부할지 고민이다.

'인턴 > 준비' 카테고리의 다른 글

Git #2 Basics  (1) 2022.12.29
Git #1 Origins story and terms  (0) 2022.12.27
Go Language #1  (0) 2022.12.16
I2C & SPI  (0) 2022.02.07
[project] simpleAtmController  (0) 2022.01.12

댓글