WK-113: Support import from SQL queries