Get startedGet started for free

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.

This exercise is part of the course

Intermediate dbt

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise