Open rtttech opened 3 years ago
PRIMARY KEY is not key word in doris
PRIMARY KEY is not key word in doris
How can I accomplish that?
PRIMARY KEY is not key word in doris
How can I accomplish that?
Maybe you should try the UNIQUE KEY table to simulate the PRIMARY KEY.
The following sql cant not be executed, it works in MySQL/sqlite.
CREATE TABLE chinese_stock_history2016 (stockid VARCHAR(6), date VARCHAR(10), open REAL, high REAL, low REAL, close REAL, volume BIGINT, adjclose REAL, PRIMARY KEY (date,stockid));