Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 28th, 2003, 08:41 AM
dizy dizy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: davao city, philippines
Posts: 2 dizy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i need help on udf

if i had a table:

tools year number of purchases
pliers 2000 2
hammer 2000 1
screwdriver 2001 1
pliers 2002 2
screwdriver 2000 3
hammer 2001 4

resulting table:

tools 2000 2001 20002 total(numberofPur)
pliers 2 2 4
hammer 1 4 5
screwdriver 3 1 4

how should i create a udf function so that when i type a particular sql statement the result or the display would be like that of the above diagram/table.....?????? i am having some difficulty with this because it is my first time to use MySQL....tnx...

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > i need help on udf


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway