HQL

1 program Added 2026-02-22T22:15:39Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Hibernate Query Language
Provenance: commit 63464eac4b · authored 2026-02-22T23:16:04+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

QUEL (0.44)fq (0.43)Lorel (0.42)JQL (0.41)YQL (0.40)

LLM-contributed programs

Author Book Statistics Query

Provenance: commit 63464eac4b · authored 2026-02-22T23:16:04+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.hql · added: 2026-02-22T22:15:39Z
-- Retrieve authors with their published books count
-- and average rating, for books published after 2000

SELECT a.name,
       COUNT(b) AS bookCount,
       AVG(b.rating) AS avgRating,
       MAX(b.publicationYear) AS latestBook
FROM Author a
JOIN a.books b
WHERE b.publicationYear > 2000
  AND b.rating IS NOT NULL
GROUP BY a.id, a.name
HAVING COUNT(b) >= 3
   AND AVG(b.rating) > 4.0
ORDER BY avgRating DESC, bookCount DESC

Contribute — propose a file extension

Tell us where to find evidence about HQL (mapped to pl/hql). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/HQL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← HQ9funge hr-code →