SQL 横竖表转换
CREATE table score(
username varchar(10) ,
chineseint ,
math int ,
physicsint
);
INSERT into score(username , chinese , math , physics) values('Kay',74,83,93);
INSERT into score(username , chinese , math , physics) values('Jim',75,84,94);
INSERT into score(username , chinese , math , physics) values('Lily',86,49,91);
COMMIT;
SELECT * FROM score;
页:
[1]