首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

菜鸟问2个有关问题.请大家帮帮小弟我.

2012-05-21 
初学者问2个问题...请大家帮帮我..select username , email form member where username in (select usern

初学者问2个问题...请大家帮帮我..
select username , email form member where username in (select username from ranking where score<=4 or score is null) order by username desc
这个语句如何用exsits或者not exsits表示呢?

还有一个问题就是
我想写一条语句...题目是
List the names of studios that have produced movies with more than one UK
actor in them. The output should contain no duplicates

....
非常急..在线等谢谢...


[解决办法]
select username , email form member m 
where exist (select 1 from ranking r on m.username =r.username where score<=4 or score is null) order by username desc

热点排行