강의

멘토링

커뮤니티

Inflearn Community Q&A

odung's profile image
odung

asked

Playing with a MySQL Database by Yalco

View - Virtual Table

order by created?

Resolved

Written on

·

307

0

 ORDER BY created DESC LIMIT 1의 의미가 어떤건지 설명해 주실수 있나요?

데이터 엔지니어링mysqlDBMS/RDBMSsql

Answer 1

1

yalco님의 프로필 이미지
yalco
Instructor

맨 첫 강에서 배운 내용들입니다 😃

SELECT 전반 기능 훑어보기 | 얄코 (yalco.kr)

 

4. 원하는 순서로 데이터 가져오기


ORDER BY created DESC
 : created란 컬럼을 기준으로 역순으로 정렬합니다.

 

5. 원하는 만큼만 데이터 가져오기


LIMIT 1

: 결과 중 하나만 가져옵니다.

Cola님의 프로필 이미지
Cola
Questioner

감사합니다.

odung's profile image
odung

asked

Ask a question