you would do it like this:
SELECT IF(field = 1,'Hourly', IF(field = 2, 'Retainer', 'AdHoc')) AS alias FROM table
basically anything that is not a value of 1 or 2 will be "AdHoc"
Hope that helps
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.