select * from Vendor
where Timestamp between '2021-01-01 00:00:00.000' and '2021-12-31 23:59:59.999'
order by Timestamp
LIMIT 5
1. Timestamp 가 2021년내의 데이터만 조회
2. Timestamp 기준 정렬
3. 5개만 조회
'Database > Sqlite' 카테고리의 다른 글
Insert Into (0) | 2022.11.01 |
---|---|
검색 - 와일드 카드 (0) | 2022.11.01 |
Create Table (0) | 2022.11.01 |