Answered step by step
Verified Expert Solution
Question
1 Approved Answer
One of restrictions for SQL is that we can not apply a column function to another one. For example, you will get an error message
One of restrictions for SQL is that we can not apply a column function to another one. For example, you will get an error message when you execute the following statement.select managerid maxsumcreditlimitfrom employeesgroup by manageridorder by managerid ;Please select a working SQL:Question options:
select managerid maxcreditlimitsumcreditlimitfrom employeesgroup by manageridHAVING maxcreditlimit IN SELECT sumcreditlimitorder by managerid
select managerid maxcreditlimitsumcreditlimitfrom employeesgroup by manageridorder by managerid ;
select managerid maxcreditlimitsumcreditlimitfrom employeesWHERE maxcreditlimit IN SELECT sumcreditlimitgroup by manageridorder by managerid ;
select managerid maxcreditlimitsumcreditlimitfrom employeesgroup by manageridorder by manageridWHERE maxcreditlimit IN SELECT sumcreditlimit;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started