Aan de slagGa gratis aan de slag

Verifying test queries

You've successfully implemented the assert_trip_duration_gt_0.sql query described in the previous exercise. As you've developed a successful test, you're tempted to leave it as is but you're curious if there are other solutions that would also provide proper validation for the test.

After working through some potential SQL queries, you need to decide which two of the following SQL statements will meet the validation requirements. Remember, you want to validate that the trip duration is greater than 0 minutes. You can refer to the schema document for information about the fields in the taxi_rides_raw table if needed.

Deze oefening maakt deel uit van de cursus

Intermediate dbt

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen