VWDB Višnjan–Washington Sky Survey
Stand-in data
STAND-IN DATA. This catalog contains 2,279 ZTF detections and 1,000,000 synthetic fixture rows — NOT Visnjan-Washington observations. Stand-in data is loaded while the VW Data Analysis Pipeline is built. Do not use these measurements for science.

ADQL query

A documented subset of ADQL, translated to Q3C-backed PostgreSQL and run synchronously. Not a TAP service — there is no /sync, /async or VOTable here, and this endpoint is registered nowhere. What is and is not supported is written out below. See the schema for the columns.

Query
At most 5,000 rows, whatever TOP says. 5 s statement timeout, 6 queries per minute.

Examples

Cone search, nearest first
SELECT TOP 100 source_id, ra, dec, mjd, snr,
       DISTANCE(POINT('ICRS', ra, dec), POINT('ICRS', 185.0, 15.0))
FROM survey.source
WHERE CONTAINS(POINT('ICRS', ra, dec),
               CIRCLE('ICRS', 185.0, 15.0, 0.01)) = 1
ORDER BY DISTANCE(POINT('ICRS', ra, dec), POINT('ICRS', 185.0, 15.0))
Bright detections in one band
SELECT TOP 200 s.source_id, s.mjd, s.flux, e.band
FROM survey.source AS s
INNER JOIN survey.exposures AS e ON e.exposure_id = s.exposure_id
WHERE e.band = 'zr' AND s.snr > 20
ORDER BY s.flux DESC
How many detections per band
SELECT e.band, COUNT(*), AVG(s.snr)
FROM survey.source AS s
INNER JOIN survey.exposures AS e ON e.exposure_id = s.exposure_id
GROUP BY e.band
ORDER BY COUNT(*) DESC
Syntax reference — what this subset does and does not accept

The shape of a query:

SELECT [TOP n] columns FROM table [INNER JOIN table ON ...] [WHERE ...] [GROUP BY ...] [ORDER BY ... ASC|DESC]

Supported

Not supported, deliberately

These are not "not yet". The parser reads the whole of ADQL and then declines what this service does not serve, so a refusal names the construct and what to write instead rather than pointing at a character. The reasoning is in docs/decisions/006-adql-subset.md, and what the subset costs to keep — this list is maintained here, not by a VO server product — is in docs/decisions/018-adql-sqlglot-front-end.md.