practice with sql (very preliminary versions)