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

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