Skip to content

Commit

Permalink
2024-02-25 14:45:50
Browse files Browse the repository at this point in the history
Affected files:
.obsidian/workspace.json
src/content/blog/programmers-가장-비싼-상품-구하기.md
src/content/blog/programmers-인기있는-아이스크림.md
  • Loading branch information
gyunseo committed Feb 25, 2024
1 parent 2b554ec commit 32bdf84
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@
"source": false
}
}
},
{
"id": "30a6f5166fbae7ac",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "src/content/blog/programmers-가장-비싼-상품-구하기.md",
"mode": "source",
"source": false
}
}
}
],
"currentTab": 1
Expand Down Expand Up @@ -163,8 +175,9 @@
},
"active": "12e37c51339f3c1d",
"lastOpenFiles": [
"src/content/blog/24-sw-maestro-1st-coding-test.md",
"src/content/blog/programmers-가장-비싼-상품-구하기.md",
"src/content/blog/programmers-인기있는-아이스크림.md",
"src/content/blog/24-sw-maestro-1st-coding-test.md",
"src/assets/template/obsidian-template.md",
"src/content/blog/ubuntu-partition.md",
"src/content/blog/update-markdown-AST-node-url-value.md",
Expand Down Expand Up @@ -207,7 +220,6 @@
"dist/posts/우테코-1차-소감문.png",
"dist/posts/virtual-lans.png",
"src/content/blog/how-to-configure-astropaper-theme.md",
"src/content/blog/resolve-obsidian-git-path-environment-variable-error.md",
"src/content/blog/nestjs-prisma-deep-dive.md"
"src/content/blog/resolve-obsidian-git-path-environment-variable-error.md"
]
}
29 changes: 29 additions & 0 deletions src/content/blog/programmers-가장-비싼-상품-구하기.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
author: Gyunseo Lee
title: Programmers 가장 비싼 상품 구하기 SQL 문제 풀이
pubDatetime: 2024-02-25T14:41:00+09:00
modDatetime: 2024-02-25T14:41:00+09:00
featured: false
draft: false
tags:
- SQL
- Programmers
- Coding-Test
description: Aggregate function에 대해 더 공부해 보자...
ogImage: https://res.cloudinary.com/gyunseo-blog/image/upload/f_auto/v1708839816/image_a2jb3n.png
---

## Table of contents

## 들어가며

![](https://res.cloudinary.com/gyunseo-blog/image/upload/f_auto/v1708839816/image_a2jb3n.png)

이 문제는 집계 함수 중 `MAX`를 사용할줄 아는지 묻는 문제였다.

## SQL Query

```sql
SELECT MAX(price) as MAX_PRICE
FROM product;
```
2 changes: 2 additions & 0 deletions src/content/blog/programmers-인기있는-아이스크림.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ ogImage: https://res.cloudinary.com/gyunseo-blog/image/upload/f_auto/v1708838398

이 문제는 여러 개의 Column에서 ORDER BY 정렬 순서를 지정해 줄 수 있는지를 물어보는 문제입니다.

- [인기있는 아이스크림 문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/133024)

## SQL Query

```sql
Expand Down

0 comments on commit 32bdf84

Please sign in to comment.