Alumini Schema
Alumini Schema
Write a query to display the entire contents of the role table, sorted by name in ascending
order.
2. Write a query to display the entire contents of the skill table, sorted by name in ascending
order.
3. Write a query to display the entire contents of the department table, sorted by name in
descending order.
4. Write a query to display the entire contents of the post_type table, sorted by name in
descending order.
7. Write a query to display the names of all departments, sorted in ascending order.
8. Write a query to display the names of all post types, sorted in ascending order.
9. Write a query to display the names of all universities in which the alumni from this college
have done or are doing their higher studies, sorted in ascending order.
10. Write a query to display all unique designations from the profile table sorted in
ascending order.
11. Write a query to display the batch details of all alumni who are currently project
managers, sorted in ascending order.
12. Write a query to display all designations of Male students/alumni from the profile table
sorted in ascending order.
13. Write a query to display all designations of Female students/alumni from batch 2008
from the profile table sorted in ascending order.
14. Write a query to display the address details of Male alumni from 2008 batch, sorted in
ascending order based on address.
15. Write a query to display the names of companies in which the college alumni have been
or are employees, sorted in ascending order based on name.
16. Write a query to display the names of companies in which the college alumni are
employees at present, sorted in descending order based on name.
17. Write a query to display the names and phone numbers of all users, sorted in
descending order by name.
18. Write a query to display the names, emailids and phone numbers of all users, sorted in
ascending order by name.
19. Write a query to display the user name and password of Ram.
20.Write a query to display the names and descriptions of projects with more than 10
members, sorted in ascending order by name.
21. Write a query to display the names and descriptions of all events scheduled on 27th
January, 2014, sorted in ascending order by name.
22. Write a query to display the content of all posts, sorted in descending order by date.
1)Write a query to display the names of all administrators (role Admin) sorted by name in
Ascending order.
2)Write a query to display the names of all alumni (role Alumni) sorted by name in
descending order.
3)Write a query to display the names of all degrees offered by 'CSE' department, sorted in
Ascending order.
4) Write a query to display the name of the department offering the degree 'BSC_CT'.
5) Write a query to display the names of all female alumni (role Alumni), sorted in order.
7) Write a query to display the university name(s) in which Ram has done his higher studies,
sorted in Ascending order.
9) Write a query to display the name of the skill sets of Ram, sorted by name in Ascending
order.
10) Write a query to display the work experience details of Anithaa (company name, start
date and end date in order), sorted by start date.
11) Write a query to display the names of projects in which Ram has been a part of, sorted in
order.
12) Write a query to display the contents of queries raised or answered by Ram, sorted by
date.
13) Write a query to display the contents of posts posted by Ram, sorted by date.
14) Write a query to display the contents of posts related to Technology posted by Ram,
sorted by date.
15) Write a query to display the contents of posts posted by Ram in the year 2012, sorted by
date
16) Write a query to display the name and phone numbers of all Alumni users from 2008
batch, sorted in Ascending order based on name.
17) Write a query to display the name of all male Alumni from 2008 batch, sorted in order.
18) Write a query to display the name of all Alumni from BSC_CT 2008 batch, sorted by
name.
19) Write a query to display the name of all Alumni of 2008 batch from CSE department,
sorted by name.
20) Write a query to display the name and email details of all users from 2008 batch sorted by
name.
21) Write a query to display the names of users who have good 'Web Design' skills, sorted by
name.
22) Write a query to display the names of all alumni users who have been or are a part of
TCS, sorted by name.
23) Write a query to display the names and email ids of all alumni users who are currently
working in TCS, sorted by name.
24) Write a query to display the name and role of all users, sorted by name of the user.
25) Write a query to display the name and role details of all users who have filled in the
profile details, sorted by name in Ascending order.
1 Write a query to display the names of users who have organized events in the year 2013,
sorted in order.
2 Write a query to display the names of the users who have worked in the project(s) with
minimum members, sorted by name of the user.
3 Write a query to display the names of users from 2008 batch who have done their higher
studies in 'Texas University', sorted in order.
5 Write a query to display the number of events organised by alumni users. Give an alias as
'event_count'.
6 Write a query to display the number of alumni from CSE department who have registered
in the system. Give an alias as cse_alumni_count.