// This file is autogenerated, DO NOT EDIT
// sql/endpoints/rest.asciidoc:143

[source, python]
----
resp = client.sql.query(
    format="csv",
    delimiter=";",
    query="SELECT * FROM library ORDER BY page_count DESC",
    fetch_size=5,
)
print(resp)
----
