当前位置:酷百书>百科知识>select * from (用select 查询到的结果)t

select * from (用select 查询到的结果)t

2023-07-22 23:47:01 编辑:join 浏览量:579

select * from (用select 查询到的结果)t

select * from (用select 查询到的结果)t

Try this:

select t.*

from (select a.inv_no , b.inv_nam ,

a.re_quan-a.is_quan+a.ad_quan ,

b.unit,

a.st_no,d.st_nam

from st_end a, inv b, storage d

where a.re_quan-a.is_quan+a.ad_quan>0 and a.inv_no=b.inv_no and a.st_no=d.st_no

A...

a.is_quan+a.ad_quan 改为 a.is_quan+a.ad_quan as quan

select * from (

select a.inv_no , b.inv_nam ,a.re_quan-a.is_quan+a.ad_quan as r_quan

,b.unit,a.st_no,d.st_nam from st_end a, inv b, storage d

where a.re_quan-a.is_quan+a.ad_quan>0 and a.inv_no=b.inv_no and a.st_no=d.st_no ...

标签:select,查询,结果

版权声明:文章由 酷百书 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.kubaishu.com/article/325190.html
热门文章