’ADQL queries’: this tutorial provides several Gaia DR1 / Gaia DR2 ADQL query examples, including ’ConeSearch sorted by distance’, ’Cone search filtered by magnitude, ordered by magnitude’, ’TGAS catalogue filtered by magnitude and parallax’, ’ADQL positional cross-match: Hipparcos versus Gaia’, ’Built-in positional cross-match: Hipparcos versus Gaia’, ’TGAS Healpix maps: source density, average good observations, and excess noise’, ’Red clump stars: absolute magnitudes in Hipparcos colour bins’, ’Red clump stars’, ’TGAS-2MASS Hertzsprung-Russell diagram (individual objects)’, ’TGAS-2MASS Hertzsprung-Russell diagram (histogram)’, ’RR Lyrae phase-folded light curve reconstruction, including errors’, ’Cepheids: light curve retrieval for all stars’, ’RR Lyrae: light curve retrieval for all stars’, ’Cepheids: number of data points and estimated parameters’, ’RR Lyrae: number of data points and estimated parameters’, and ’Proper-motion propagation: Pleiades TGAS field at epoch 1950’.