我有以下查询:
ERROR: syntax error at or near "RETURNING"
LINE 19: RETURNING
输出结果为:
editText.setError(getString(R.string.error_required));
我做错了吗?
答案 0 :(得分:2)
此?..
WITH data AS (
SELECT
profileid as id_user,
terms_accepted as terms_accepted_passport,
lastname as last_name_user,
firstname as first_name_user,
picture_serving_url as picture_user,
is_active as status_user,
is_passport_active as status_passport,
language as language_id_user,
created as created_user,
modified as modified_user,
passport_completion_level as completion_level_passport,
email as email_user,
about_me as description_user,
uni_code as institution_id_user,
metadata as metadata_misc
FROM import_temp_table
)
select id_user FROM data
如果我猜这应该做:
select profileid as id_user from import_temp_table
答案 1 :(得分:0)
选择 profileid为id_user 从import_temp_table 将id_user还原为id_user _