同意在sql server中的函数 [英] agreegate functions in sql server

查看:71
本文介绍了同意在sql server中的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问有人说这个查询的结果是什么





选择员工人数超过2人的部门名称大于10000







请一些人告诉......

Pls some one tell that what is the result of this query


select dept names who have more than 2 employees where salary is greater than 10000



Pls some one tell......

推荐答案

Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'who'.





它已经是英文版,而不是SQL版 - 所以它不需要解释,SQL也不会理解它。



It's already in English, not SQL - so it needs no explanation, and SQL will not understand it.


这篇关于同意在sql server中的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆