ComeçarComece de graça

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.

Este exercício faz parte do curso

Intermediate dbt

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício