Section: Read and filter rows

Filter with WHERE and LIKE

sql
sql
SELECT id, title FROM posts WHERE title LIKE '%sqlite%';
Explanation

LIKE is convenient for simple matching; full-text search is better for larger text search needs.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Read and filter rows
Select all columns
Read rows from a table.
OpenIn sheetsqlsame section
Select only needed columns
Return a smaller projection.
OpenIn sheetsqlsame section
Sort and limit results
Get recent rows first.
OpenIn sheetsqlsame section
Paginate with LIMIT and OFFSET
Fetch one page of rows.
OpenIn sheetsqlsame section
Insert one row
Add a new record.
OpenIn sheetsql1 tag match
Insert multiple rows
Add several records in one statement.
OpenIn sheetsql1 tag match