这条select 语句哪错了啊?

来源:百度知道 编辑:UC知道 时间:2024/05/19 02:44:13
select * from select name from sysobjects where left(name,5)='score'
其中select name from sysobjects where left(name,5)='score'这句是运行成功的.
我想查的是 score**表中的内容

select * from 是查找全部.

直接用select name from sysobjects where left(name,5)='score' 就可以了啊

子查询应该这样写的
select * from (select name from sysobjects where left(name,5)='score')a

是啊~~只用一个呀

支持!二楼的!

我现在没有sql
不过我觉得二楼说的对

你最好还是先查一下语法格式再那样用,或许会成功的