---
title: "Comment by lianzhaofu on \"Cloudflare D1: A Practical Guide to SQLite for Workers\" | Hashnode"
description: "The distinction between rows read and rows returned is the part that stuck with me. It's easy to assume a LIMIT 20 query is cheap until you realize it still sca"
url: "https://hashnode.com/posts/cloudflare-d1-practical-guide/6b1248f06b4e31d3243da873/comment/6b1253eea3a64700330e969c"
---

[Discussion](https://hashnode.com/posts/cloudflare-d1-practical-guide/6b1248f06b4e31d3243da873)

Comment [Cloudflare D1: A Practical Guide to SQLite for Workers](https://hashnode.com/posts/cloudflare-d1-practical-guide/6b1248f06b4e31d3243da873)

[lianzhaofu](https://hashnode.com/@lianzhaofu)

[10h ago](https://hashnode.com/posts/cloudflare-d1-practical-guide/6b1248f06b4e31d3243da873/comment/6b1253eea3a64700330e969c)

The distinction between rows read and rows returned is the part that stuck with me. It's easy to assume a LIMIT 20 query is cheap until you realize it still scanned the whole table.
