Allow importing real data via SQL

#216