If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Need Help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-11, 07:34
petit petit is offline
Registered User
 
Join Date: Jul 2011
Posts: 1
Need Help

How can I write querys for the following?

A list of employee's registered for a job role. This should include the job role and employee’s first name and surname for each role. The employee’s names should be displayed in a single column.

A list of job roles showing the number of employees of each gender registered for each job role.

Alphabetical list of employee together with the name and phone number of their employer.
The list must have the first name and surname for each employee and the title, firstname, surname and phone number for their employer. The employer's title and name should be displayed in a single column. The listing should be sorted alphabetically by employee’s surname, first name.
Reply With Quote
  #2 (permalink)  
Old 07-22-11, 07:40
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,525
how? by paying attention in SQL class

sorry, mate, we won't do your homework for you
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On