Show Bid Request
Optimizing SQL statements
Bid Request Id: 56587
|
|
|
Posted by: |
FixedAsset (3 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 20.00%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Apr 7, 2003 12:58:18 PM EDT
|
Bidding Closes: |
Apr 8, 2003 11:40:23 PM EDT
|
Viewed (by coders): |
76 times
|
Deadline: |
4/10/2003
TIME EXPIRED
|
|
|
|
Description:
I have 4 tables, customers (300K rows), answers (70M rows ) groups (60M rows ) quest_order (2000 rows )
I need to get crosstab counts from these tables, something like this Household size Occupation 1pers 2per 3per 4per 5per 6per 7per >1 None Total Agriculture 1 0 2 0 2 0 1 0 0 6 Doctor/Nurse 0 1 5 4 10 10 12 0 0 42 Engineer/Architect 2 1 0 8 3 2 1 0 0 17 Government Officer 2 15 27 45 27 17 37 0 0 170 Housewife 0 10 29 50 25 29 52 0 5 200 Lawyer 0 0 0 0 2 0 0 0 1 3 More than 1 answer 0 2 2 8 6 6 9 0 0 33 No answer 0 1 2 3 1 3 8 0 5 23 Office Worker 8 31 85 132 142 121 213 0 13 745 Other 2 6 11 17 12 15 21 0 0 84 Self-employed 0 9 23 38 46 41 62 0 2 221 State Enterprise Officer 3 6 7 14 23 9 22 0 0 84 Student 0 4 15 34 47 32 47 0 0 179 Teacher/College Professor 1 3 6 17 10 5 15 0 1 58 Total 19 89 214 370 356 290 500 0 27 1865
I have already written a SQL which can obtain the above results. Currently this takes a minimum of 20 minutes to complete.
The job is to re-write (optimize the SQL_ or develop a new SQL statement which gives the same results but in shorter time.
The second task is to add another row for those who do not have the profession specified and another column for those who do not have the Household size in the Answer table the tables and some sample data are attached For the successful bidder I will provide the SQL already written. The final deliverable is a fully optimized SQL which will provide the required results in under 20 minutes.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Oracle 8.1.7 Windows NT
Must be 100% finished and received by buyer on:
Apr 10, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
This bid was accepted by the buyer!
|
$15 (USD)
|
Apr 7, 2003 2:11:15 PM EDT
|
10
(Excellent)
|
|
|
Hello,
thank you for posting here. As you can see from my resume I'm an Oracle Certified Professional with 8 years experience as an Oracle DBA, so SQL tuning is in my daily tasks. Please send me your query, I can do this task tomorrow.
Kind regards, CompSysEng
|
|
|
|
|
|