SQL SELECT and WHERE
Start with selecting columns, filtering rows, and sorting a small sample dataset.
Read the SQL basics lessonProgramming learning resources
Browse the programming lessons and tools currently published on TeachyLeaf. This page lists available material rather than planned or unpublished courses.
Published material
Follow the examples in a lesson or use a related browser-based tool.
Start with selecting columns, filtering rows, and sorting a small sample dataset.
Read the SQL basics lessonUnderstand NULL checks and right-side filters with the shared customers-and-orders data.
Read the NULL lessonCompare join results using sample customers and orders data.
Read the SQL lessonSummarize sample orders with COUNT and SUM, and filter groups using HAVING.
Read the aggregation lessonProtect sample customer and order data with keys, required values, and validation rules.
Read the constraints lessonCommit related changes together or roll back uncommitted changes using the sample data.
Read the transactions lessonUse indexes for common lookups, inspect a query plan, and weigh storage and write costs.
Read the indexes lessonCompare CONCAT NULL behavior, with MySQL verified locally and PostgreSQL runtime testing still outstanding.
Read the SQL portability lessonTrace a page through routing, middleware, a controller, and a rendered Blade response.
Read the Laravel lessonIdentify common syntax problems and distinguish parsing from application validation.
Read the JSON guideEncode or decode one component in your browser and learn where component encoding applies.
Use the URL toolWant to see all available lessons?
Browse tutorials