P粉2425357772023-08-23 17:10:21
创建表 Student ( StuID NUMBER(15), StuName VARCHAR2(50), Phone VARCHAR2(20), CONSTRAINT PK_STUID PRIMARY KEY (StuID))
Find the answer here here.
edit:
Also, try using /
as statement separator instead of ;
P粉0991457102023-08-23 13:27:54
If you are using OracleXE's horrible HTML GUI (inside the browser), then it does not support running multiple statements.
Please use SQL Developer, SQL*Plus or any other GUI tool instead.