文档

Quick BI使用SQL创建数据集报错“You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option from 001产品信息”

更新时间:
一键部署

问题描述

本文主要介绍Quick BI使用SQL创建数据集报错“You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option from 001产品信息”。

问题原因

该报错的原因是option是MySQL数据库的关键字。

解决方案

客户可以对该表起别名,通过别名.字段的方式来处理字段为数据库关键字。

适用于

  • Quick BI
  • 本页导读
文档反馈