主题:[讨论]求助如何用子查询的办法建立一张表
candyqiu
[专家分:0] 发布于 2006-10-25 13:12:00
如题,前提是有一张book表,里面有书名,作者,书号,价格,出版社
现在要求用子查询的办法建立一名为book1的表,该表的属性应有书号、书名和价格。
回复列表 (共4个回复)
沙发
sjp2003 [专家分:1090] 发布于 2006-10-25 16:13:00
select 书号,书名,价格 into book1 from book where .....
板凳
candyqiu [专家分:0] 发布于 2006-10-25 18:25:00
谢谢你,我明白了
3 楼
jplearn [专家分:30] 发布于 2006-10-25 22:48:00
create table book1
as
select 书号,书名,价格 from book
4 楼
fun [专家分:60] 发布于 2006-11-15 12:00:00
[quote]create table book1
as
select 书号,书名,价格 from book[/quote]
Did you try what you wrote here? It won't work.
我来回复