1. Find all Tesla maintenance records
| Vehicle | Odometer | Service Date | Cost | Garage |
| Tesla | 45000 | 2024-01-15 | 250 | Downtown |
| Honda | 62000 | 2024-01-20 | 180 | Midtown |
| Tesla | 48000 | 2024-02-10 | 450 | Downtown |
| Toyota | 88000 | 2024-02-15 | 320 | Uptown |
| Honda | 65000 | 2024-03-05 | 220 | Midtown |
| Tesla | 51000 | 2024-03-10 | 275 | Downtown |
| Toyota | 91000 | 2024-03-20 | 500 | Uptown |
| Honda | 68000 | 2024-04-01 | 190 | Downtown |
=QUERY(A1:E8,"SELECT * WHERE A='Tesla'")Result: VehicleOdometerService DateCostGarageTesla450002024-01-15250DowntownTesla480002024-02-10450DowntownTesla510002024-03-10275Downtown
The WHERE clause filters rows where column A (Vehicle) equals 'Tesla'. QUERY returns only matching rows with all columns (SELECT *). The result includes the header row and three matching Tesla maintenance records.