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
- Loading branch information
Showing
2 changed files
with
38 additions
and
8 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
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,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; | ||
``` |