我无法连接我的qlikview脚本。我得到两个不同的错误。
Product:
SQL SELECT
PRODUCT.product_number as PRODUCT_number, //primary key
PRODUCT.product_name as PRODUCT_name,
PRODUCT.product_image as PRODUCT_image,
PRODUCT.description as PRODUCT_description,
datepart('yyyy',date()) - datepart('yyyy',introduction_date) as PRODUCT_EXIST_YEARS_nr, //afgeleide dimenstiewaarde
PRODUCT_TYPE.product_type_code as PRODUCT_TYPE_code,
PRODUCT_TYPE.product_type_en as PRODUCT_TYPE_name,
PRODUCT_LINE.product_line_code as PRODUCT_LINE_code,
PRODUCT_LINE.product_line_en as PRODUCT_LINE_name
FROM (PRODUCT INNER JOIN PRODUCT_TYPE ON PRODUCT.product_type_code = PRODUCT_TYPE.product_type_code)
INNER JOIN PRODUCT_LINE ON PRODUCT_TYPE.product_line_code = PRODUCT_LINE.product_line_code;
还有一个:
SALES_STAFF:
SQL SELECT
SALES_STAFF.sales_staff_code as SALES_STAFF_code, //primary key
first_name as SALES_STAFF_first_name,
last_name as SALES_STAFF_last_name,
datepart('yyyy',date()) - datepart('yyyy',date_hired) as SALES_STAFF_WORKING_YEARS_nr, //afgeleide dimenstiewaarde
SALES_STAFF.position_en as SALES_STAFF_POSITION_EN_name,
SALES_BRANCH.sales_branch_code as SALES_STAFF_BRANCH_code,
address1 as SALES_STAFF_BRANCH_address1,
address2 as SALES_STAFF_BRANCH_address2,
postal_zone as SALES_STAFF_POSTAL_ZONE_nr,
postal_zone as SALES_STAFF_POSTAL_ZONE_name,
city as SALES_STAFF_CITY_name,
region as SALES_STAFF_REGION_name,
SALES_BRANCH.country_code as SALES_STAFF_COUNTRY_code
FROM SALES_STAFF INNER JOIN SALES_BRANCH ON SALES_STAFF.sales_branch_code = SALES_BRANCH.sales_branch_code;
FROM
[C:\Users\Rawen\Documents\GO\GO_SALES_SALES_TARGETData.xlsx]
(ooxml, embedded labels, table is GO_SALES_SALES_TARGETData); LOAD SALES_STAFF_CODE,