Skip to content

Commit

Permalink
2024-02-25 14:23:10
Browse files Browse the repository at this point in the history
Affected files:
.obsidian/workspace.json
src/content/blog/programmers-인기있는-아이스크림.md
  • Loading branch information
gyunseo committed Feb 25, 2024
1 parent ece6221 commit 2b554ec
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
}
},
{
"id": "ed2cc7886387bddc",
"id": "12e37c51339f3c1d",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "src/assets/template/obsidian-template.md",
"file": "src/content/blog/programmers-인기있는-아이스크림.md",
"mode": "source",
"source": false
}
Expand Down Expand Up @@ -98,7 +98,7 @@
"state": {
"type": "backlink",
"state": {
"file": "src/assets/template/obsidian-template.md",
"file": "src/content/blog/programmers-인기있는-아이스크림.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -115,7 +115,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "src/assets/template/obsidian-template.md",
"file": "src/content/blog/programmers-인기있는-아이스크림.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
Expand All @@ -138,7 +138,7 @@
"state": {
"type": "outline",
"state": {
"file": "src/assets/template/obsidian-template.md"
"file": "src/content/blog/programmers-인기있는-아이스크림.md"
}
}
}
Expand All @@ -161,9 +161,10 @@
"table-editor-obsidian:Advanced Tables Toolbar": false
}
},
"active": "ed2cc7886387bddc",
"active": "12e37c51339f3c1d",
"lastOpenFiles": [
"src/content/blog/24-sw-maestro-1st-coding-test.md",
"src/content/blog/programmers-인기있는-아이스크림.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 +208,6 @@
"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/install-asdf-on-ubuntu-linux-and-ohmyzsh.md"
"src/content/blog/nestjs-prisma-deep-dive.md"
]
}
30 changes: 30 additions & 0 deletions src/content/blog/programmers-인기있는-아이스크림.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
author: Gyunseo Lee
title: Programmers 인기있는 아이스크림 SQL 문제 풀이
pubDatetime: 2024-02-25T14:17:00+09:00
modDatetime: 2024-02-25T14:17:00+09:00
featured: false
draft: false
tags:
- SQL
- Programmers
- Coding-Test
description: ORDER BY 정렬 순서는 여러 개 지정해 줄 수 있다...
ogImage: https://res.cloudinary.com/gyunseo-blog/image/upload/f_auto/v1708838398/image_qqt5rc.png
---

## Table of contents

## 들어가며

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

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

## SQL Query

```sql
SELECT flavor
FROM first_half
ORDER BY total_order DESC, shipment_id ASC;
```

0 comments on commit 2b554ec

Please sign in to comment.