Answer to Question #235318 in Databases | SQL | Oracle | MS Access for Tarurendra Kushwah

Question #235318

create table emp with attributes (eid number,ename varchar2(10),age number,salary number);

 


a. Count number of employee names from employee table.

b. Display the Sum of age employee table.

c. Find grouped salaries of employees (group by clause).

d. Find salaries of employee in Ascending Order (order by clause).

e. Find salaries of employee in Descending Order.



1
Expert's answer
2021-09-13T18:29:49-0400
create table emp (eid number,ename varchar2(10),age number,salary number);

a) SELECT count(ename) FROM emp;
b) SELECT sum(age) FROM emp;
c) SELECT salary FROM emp GROUP BY salary;
d) SELECT salary FROM emp GROUP BY salary;
e) SELECT salary FROM emp ORDER BY salary DESC

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS