encyclopegia.org

Skyline operator

The skyline operator is the subject of an optimization problem and computes the Pareto optimum on tuples with multiple dimensions.[src] This operator is an extension to SQL proposed by Börzsönyi et al.[src] to filter results from a database to keep only those objects that are not dominated by any other point on all dimensions.[src] The name skyline comes from the view on Manhattan from the Hudson River, where those buildings can be seen that are not hidden by any other.[src] A building is visible if it is not dominated by a building that is taller or closer to the river (two dimensions, distance to the river minimized, height maximized).[src] Another application of the skyline operator involves selecting a hotel for a holiday.[src] The user wants the hotel to be both cheap and close to the beach.[src] However, hotels that are close to the beach may also be expensive.[src] In this case, the skyline operator would only present those hotels that are not worse than any other hotel in both price and distance to the beach.[src]

The skyline operator is the subject of an optimization problem and computes the Pareto optimum on tuples with multiple dimensions.[src] This operator is an extension to SQL proposed by Börzsönyi et al.[src] to filter results from a database to keep only those objects that are not dominated by any other point on all dimensions.[src] The name skyline comes from the view on Manhattan from the Hudson River, where those buildings can be seen that are not hidden by any other.[src] A building is visible if it is not dominated by a building that is taller or closer to the river (two dimensions, distance to the river minimized, height maximized).[src] Another application of the skyline operator involves selecting a hotel for a holiday.[src] The user wants the hotel to be both cheap and close to the beach.[src] However, hotels that are close to the beach may also be expensive.[src] In this case, the skyline operator would only present those hotels that are not worse than any other hotel in both price and distance to the beach.[src] p \succ q \Leftrightarrow \forall i \in [n].[src] p[i] \succeq q[i] \wedge \exists j \in [n].[src] p[j] \succ q[j].[src] Dominance ( p \succ q ) can be defined as any strict partial ordering, for example greater (with \succ := > and \succeq := \geq ) or less (with \succ := and \succeq := \leq ).[src] Assuming two dimensions and defining dominance in both dimensions as greater, we can compute the skyline in SQL-92 as follows: WITH tuples(id, i, j) as (values(1,1,1), (1,2,1), (1,1,2)) SELECT * FROM tuples t1 WHERE NOT EXISTS ( -- which is not dominated by SELECT * FROM tuples t2 -- a tuple that is WHERE t2.i >= t1.i and t2.j >= t1.j -- at least as good in all dimensions AND (t2.i > t1.i or t2.j > t1.j) -- and better in at least one dimension ); SELECT ...[src] FROM ...[src] WHERE ...[src] GROUP BY ...[src] HAVING ...[src] SKYLINE OF [DISTINCT] d1 [MIN | MAX | DIFF], ..., dm [MIN | MAX | DIFF] ORDER BY ...[src] where d 1 , ...[src] d m denote the dimensions of the skyline and MIN, MAX and DIFF specify whether the value in that dimension should be minimised, maximised or simply be different.[src] Without an SQL extension, the SQL query requires an antijoin with not exists : SELECT ...[src] FROM (...) q WHERE NOT EXISTS ( SELECT * FROM (...) p WHERE p.d1 [ =] q.d1 AND ...[src] AND p.dm [ =] q.dm AND (p.d1 [ ] q.d1 OR ...[src] OR p.dm [ ] q.dm )) ==References==[src]

34 sentences · 34 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Skyline operator." encyclopegia.org, 2026, https://encyclopegia.org/wiki/skyline-operator. Accessed 30 November 2026.

Chicago

"Skyline operator." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/skyline-operator.

APA

encyclopegia.org. (2026). Skyline operator. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/skyline-operator

Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

tour operator

stub · references available

SkyLine

stub · references available

Prewitt operator

stub · references available

Hello Operator

stub · references available

Von der Skyline zum Bordstein zurück

stub · references available

Skyline Drive

stub · references available

Invariant differential operator

stub · references available

Hecke operator

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1377989807 · 0.5 · snapshot enwiki-001377989807

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.