SELECT TOP 20 source_id, ra, dec, SQRT(POWER(pmra,2)+POWER(pmdec,2))/1000 AS pmtot, phot_g_mean_mag FROM gaiadr1.tgas_source ORDER BY pmtot DESC