所有栏目 | 云社区 美国云服务器[国内云主机商]
你的位置:首页 > 云社区 » 正文

SQL查询语句,写几个简单查询语句?

发布时间:2020-04-15 16:56:18

资讯分类:语句  sql  查询  几个  车间  员工  工厂
SQL查询语句,写几个简单查询语句?

你说明白点,(1)select * from 员工表 where 员工车间号=(select 员工车间号 from 工厂表 where 工厂表车间号='3') and 性别=‘男’(2)select count(*) from 员工表 where 员工车间号=(select 员工车间号 from 工厂表 where 工厂表车间号='2') and 性别=‘女’(3)select * from 零件表 where 零件号=‘002’(4)select 车间主任姓名 from 车间 where 车间号=(select 车间号 from 产品 wehre 产品号=‘005’(5) select * from 零件表 where 零件价格<20

留言与评论(共有 0 条评论)
   
验证码:
Top