Read from the named projection like a table.
Section: Create reusable views
Query a view
sql
sql
SELECT * FROM recent_posts ORDER BY created_at DESC LIMIT 20;Explanation
Useful for dashboards and administrative pages.
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 Create reusable views
Create an AFTER INSERT trigger
Write to an audit log when a row is created.
Normalize data with a generated column
Compute a lowercased email for indexing or search.