我是SQL初學者,我正嘗試創建一個查詢。 我有這些表: CREATE TABLE Hospital (
hid INT PRIMARY KEY,
name VARCHAR(127) UNIQUE,
country VARCHAR(127),
area INT
);
CREATE TABLE Doctor (
ic INT PRIMARY KEY,
這就是我想要做的, 我有一個帶有信息的文件。我試圖在每行之前重寫它,行號會出現。 的基本想法,我心目中是這樣工作的: while i haven't reached the end of the file:
save the first line of the file (100 characters or until null is reached) in str
go back to th