diff --git a/crates/proof-of-sql/examples/movies/main.rs b/crates/proof-of-sql/examples/movies/main.rs index 23ac8599c..2300b3aa0 100644 --- a/crates/proof-of-sql/examples/movies/main.rs +++ b/crates/proof-of-sql/examples/movies/main.rs @@ -109,4 +109,13 @@ fn main() { &accessor, &prover_setup, &verifier_setup, - ); \ No newline at end of file + ); + + // Query 2: Find the top 5 highest-rated movies + prove_and_verify_query( + "SELECT title, rating FROM movies ORDER BY rating DESC LIMIT 5", + &accessor, + &prover_setup, + &verifier_setup, + ); +} \ No newline at end of file