forked from satnaing/astro-paper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Affected files: .obsidian/workspace.json src/content/blog/programmers-보호소에서-중성화한-동물.md src/content/blog/programmers-즐겨찾기가-가장-많은 식당-정보-출력하기.md
- Loading branch information
Showing
3 changed files
with
67 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,32 @@ | |
{ | ||
"id": "e86c6645d916ff37", | ||
"type": "tabs", | ||
"children": [ | ||
{ | ||
"id": "c692232475758d96", | ||
"type": "leaf", | ||
"state": { | ||
"type": "markdown", | ||
"state": { | ||
"file": "src/content/blog/programmers-보호소에서-중성화한-동물.md", | ||
"mode": "source", | ||
"source": false | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "38090db7696b1965", | ||
"type": "tabs", | ||
"children": [ | ||
{ | ||
"id": "4fd2587bb7adcaed", | ||
"type": "leaf", | ||
"state": { | ||
"type": "markdown", | ||
"state": { | ||
"file": "src/content/blog/boj-5014-스타트링크.md", | ||
"file": "src/content/blog/programmers-즐겨찾기가-가장-많은 식당-정보-출력하기.md", | ||
"mode": "source", | ||
"source": false | ||
} | ||
|
@@ -48,7 +66,7 @@ | |
"state": { | ||
"type": "search", | ||
"state": { | ||
"query": "", | ||
"query": "tag: #SQL ", | ||
"matchingCase": false, | ||
"explainSearch": false, | ||
"collapseAll": false, | ||
|
@@ -85,7 +103,7 @@ | |
"state": { | ||
"type": "backlink", | ||
"state": { | ||
"file": "src/content/blog/boj-5014-스타트링크.md", | ||
"file": "src/content/blog/programmers-보호소에서-중성화한-동물.md", | ||
"collapseAll": false, | ||
"extraContext": false, | ||
"sortOrder": "alphabetical", | ||
|
@@ -102,7 +120,7 @@ | |
"state": { | ||
"type": "outgoing-link", | ||
"state": { | ||
"file": "src/content/blog/boj-5014-스타트링크.md", | ||
"file": "src/content/blog/programmers-보호소에서-중성화한-동물.md", | ||
"linksCollapsed": false, | ||
"unlinkedCollapsed": true | ||
} | ||
|
@@ -125,7 +143,7 @@ | |
"state": { | ||
"type": "outline", | ||
"state": { | ||
"file": "src/content/blog/boj-5014-스타트링크.md" | ||
"file": "src/content/blog/programmers-보호소에서-중성화한-동물.md" | ||
} | ||
} | ||
} | ||
|
@@ -148,10 +166,13 @@ | |
"table-editor-obsidian:Advanced Tables Toolbar": false | ||
} | ||
}, | ||
"active": "4fd2587bb7adcaed", | ||
"active": "c692232475758d96", | ||
"lastOpenFiles": [ | ||
"src/content/blog/boj-1026-보물.md", | ||
"src/assets/Screenshot 2024-04-23 at 01.28.02.png", | ||
"src/content/blog/programmers-보호소에서-중성화한-동물.md", | ||
"src/content/blog/programmers-즐겨찾기가-가장-많은 식당-정보-출력하기.md", | ||
"src/content/blog/boj-5014-스타트링크.md", | ||
"src/content/blog/boj-1026-보물.md", | ||
"src/content/blog/boj-2230-수-고르기.md", | ||
"src/content/blog/boj-15649-N과-M-(1).md", | ||
"src/content/blog/at-coder-beginner-contest-346-up-solve.md", | ||
|
@@ -162,7 +183,6 @@ | |
"src/content/blog/software-maestro-application.md", | ||
"src/content/blog/24-sw-maestro-1st-coding-test.md", | ||
"src/content/blog/programmers-인기있는-아이스크림.md", | ||
"src/content/blog/programmers-즐겨찾기가-가장-많은 식당-정보-출력하기.md", | ||
"src/content/blog/programmers-가장-비싼-상품-구하기.md", | ||
"src/assets/template/obsidian-template.md", | ||
"src/content/blog/ubuntu-partition.md", | ||
|
@@ -175,8 +195,6 @@ | |
"src/content/blog/go-study.md", | ||
"src/content/blog/dfs-and-bfs-algorithms.md", | ||
"src/content/blog/0-1-knapsack-dp.md", | ||
"src/content/blog/dynamic-programming.md", | ||
"src/content/blog/how-to-use-neovim-on-vscode.md", | ||
"dist/assets/[email protected]", | ||
"dist/assets/forrest-gump-quote.webp.jpg", | ||
"dist/_astro/[email protected]", | ||
|
@@ -194,7 +212,6 @@ | |
"dist/tags/wslg/1", | ||
"dist/tags/wsl/2/index.html", | ||
"dist/posts/우테코-2차-소감문.png", | ||
"dist/posts/우테코-1차-소감문.png", | ||
"dist/posts/virtual-lans.png" | ||
"dist/posts/우테코-1차-소감문.png" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
author: Gyunseo Lee | ||
title: "Programmers: 보호소에서 중성화한 동물" | ||
pubDatetime: 2024-04-23T01:26:00+09:00 | ||
modDatetime: 2024-04-23T01:26:00+09:00 | ||
featured: false | ||
draft: false | ||
tags: | ||
- Coding-Test | ||
- SQL | ||
- Programmers | ||
- Join | ||
description: Inner Join을 이용해서 푼다... | ||
ogImage: https://res.cloudinary.com/gyunseo-blog/image/upload/f_auto/v1713803314/image_svstd7.png | ||
--- | ||
|
||
## Table of contents | ||
|
||
## 들어가며 | ||
|
||
![](https://res.cloudinary.com/gyunseo-blog/image/upload/f_auto/v1713803314/image_svstd7.png) | ||
|
||
## SQL Query | ||
|
||
```sql | ||
SELECT o.animal_id, o.animal_type, o.name | ||
FROM animal_outs o | ||
INNER JOIN animal_ins i | ||
ON o.animal_id = i.animal_id | ||
WHERE (o.sex_upon_outcome LIKE "%Neutered%" | ||
OR o.sex_upon_outcome LIKE "%Spayed%") | ||
AND i.sex_upon_intake LIKE "%Intact%" | ||
ORDER BY o.animal_id | ||
``` | ||
|
||
Inner Join은 두 테이블 모두 조인 컬럼에 해당하는 값이 모두 존재한는 경우를 말한다. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters