LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Intermediate dbt

Kurs anzeigen

Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten