liveBook · Manning

Where clause

As explained in Build Python Web Apps with Streamlit

A WHERE clause is a SQL query component that restricts affected or returned rows according to a condition.

A WHERE clause restricts the rows a SQL statement returns or changes. Add a condition to target only matching records instead of the whole table. section 8.2.4

How Build Python Web Apps with Streamlit covers it

How deep it goes
Demonstrates equality, LIKE, AND, and identifier-based filtering without detailing query planning or optimization.
Examples
Uses Alice’s fox haiku, haiku identifier 1, and haiku identifier 2 as filtering examples.
What it assumes
Assumes familiarity with SQL statements, tables, columns, and the haikus table schema.
What you can do after
Apply it via PostgreSQL to retrieve, update, or delete specifically matching rows.
How it connects
Connects SQL filtering with SELECT, UPDATE, DELETE, AND, LIKE, and table columns.

Also explained in

Compare how 7 books explain where clause →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Python Web Apps with Streamlit. The section links point to the parts of the book it draws on.