Skip to content

Commit

Permalink
chore: Remove average rating query proof
Browse files Browse the repository at this point in the history
  • Loading branch information
yarbroughrh committed Oct 28, 2024
1 parent a0e3240 commit 4d51ff2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/proof-of-sql/examples/programming_books/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,4 @@ fn main() {
&prover_setup,
&verifier_setup,
);

// Query 5: Calculate the average rating of books in each genre
prove_and_verify_query(
"SELECT genre, AVG(rating) AS average_rating FROM books GROUP BY genre ORDER BY average_rating DESC",
&accessor,
&prover_setup,
&verifier_setup,
);
}

0 comments on commit 4d51ff2

Please sign in to comment.