0% found this document useful (0 votes)
8 views1 page

Employee Data Queries and C Coding Tasks

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Employee Data Queries and C Coding Tasks

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

1.

Display the details of all employees


2. Display the depart information from department table
3. Display the name of and job for all the employees
4. Display the name and salary for all the employees
5. Display the employee no and total salary for all the employees
6. Display the employee name and annual salary for all employees.
7. Display the names of all the employees who are working in department umber 10.
8. Display the names of all the employees who are wokring as clerks and drawing a
salary more than 3000.
9. Display the employee number and name who are earning comm.
10. Display the employee number and name who do not earn any comm.
11. Display the names of employees who are working as clerks, salesman or analyst
and drawing a salary more than 3000.
12. Display the names of the employees who are working in the company for the past
5 years.
13. Display the list of employees who have joined the company before 30-jun-90 or
after 31-dec-90.
14. Display current date.
15. Display the names of all tables from current user
16. Display the name of the current user.
17. Display the names of employees working in depart number 10 or 20 or 40 or
employees working as clerks,salesman or analyst.
18. Display the names of employees whose name starts with alphabet S.
19. Display employee names for employees whose name ends with alphabet S.
20. Display the names of employees whose names have second alphabet 'a' in their
names.
21. Select the names of the employee whose names is exactly five characters in
length.
22. Display the names of the meployee who are not working as managers.
23. Display the names of the employee who are not working as salesman or clerk or
analyst.
24. Display the total number of employee working in the company.
25. Display the total salary being paid to all employees.
26. Display the maximum salary from emp table.
27. Display the minimum salary from emp table.
28. Display the average salary from emp table.
29. Display the maximum salary being paid to clerk.
30. Display the maximum salary being paid to depart number 20.

Coding Problem:
Q1: Write a C program to check whether the given number is prime or not?
Q2: Display first N terms of fibonacci series using loop.
Q3: Display first N terms of fibonancci series using recursion

You might also like