Query all to display but count only certain criteria

using the following sql statement i can get all the information i want. However since i am decoding the salary_wage how do i count only those items that are over a certain dollar amount?
select lss.job_order_no,
     jo.business_no,
     bs.business_name,
     li.industry_name,
     lj.job_title,
     js.office_id,
     jo.salary,
     jo.salary_type,
decode (JO.salary_type,'MONTHLY',JO.salary/173.34,
          'BIWEEKLY',JO.salary/80,
          'HOURLY',JO.salary,
     'ANNUAL',JO.salary/2080) as salary_wage
from link_status_seeker lss,job_order jo,business bs,look_industry li,link_job_order ljo,look_job lj,job_seeker js
where lss.status_date between '06-APR-04' and '20-APR-04'
and jo.job_order_no = lss.job_order_no
and jo.business_no = bs.business_no
AND bs.INDUSTRY_ID = li.INDUSTRY_ID
AND ljo.JOB_ORDER_NO = jo.JOB_ORDER_NO
AND ljo.JOB_ID = lj.JOB_ID
and js.seeker_id = lss.seeker_id
-- and lss.status_id = 105 105 is hired

I dont think your question is clear.
Do you mean you want to put where clause that looks like:
where decode (JO.salary_type,'MONTHLY',JO.salary/173.34,
'BIWEEKLY',JO.salary/80,
'HOURLY',JO.salary,
'ANNUAL',JO.salary/2080) > <some amount>
? if yes, you can do it.
-Bipin.

Similar Messages

  • HT3529 Can't activate I messaging on my iPad. I have gone through all the steps but can only receive can't send. Can anyone help please

    Can't activate I messaging on my iPad. I have gone through all the steps but can only receive can't send. Can anyone help please

    Hi sambanyc,
    What version of Adobe Reader have you installed on your Mac?
    Please try installing on a different Admin user account and check if that makes a difference.
    Regards,
    Rave

  • My Itunes will load on Apple TV and play, but only plays one song at a time.  It will not shuffle or continuously play an album.  All of the songs display, but will only play one at a time...home sharing is on.  Any suggestions?

    My Itunes info will load onto Apple TV, but will only play one song at a time of my music.  Home sharing is on, airplay is on, router info has been reset.  What am I missing?  It has never done this before....

    My Itunes info will load onto Apple TV, but will only play one song at a time of my music.  Home sharing is on, airplay is on, router info has been reset.  What am I missing?  It has never done this before....

  • Display webpage for only certain time.

    Hi,
    I want to display a new webpage from a link for only certain amount of time and get back to original webpage(dont care about the size of webpage).
    I know to do in javascript but i was wondering if it is possible using JSP & servlets.
    appreciate any reply.
    Thank you.

    My application for mobile browsers which are not powerful enough to handle java script so need to handle everything on server side. any solution,suggestions please

  • 3g on all the time but use only wifi

    I would like to know, how to setup 3g on ipad in a way that the 3g will be on all the time, (for purpose of using it as a gps locator), but use only wifi for data.
    I have 10euro prepaid card and I would like to use it for emergency, I do not want to have pushed email while I'm driving ..etc.
    How to set it up?

    Having 3G on or activated shouldn't be necessarily for GPS - some people have the 3G iPad for its GPS capability and never activate 3G on it

  • In version 4.0b11 there is no equivalent to "Organize Bookmarks". On a previous query I was told to use "Show all Bookmarks". But that only lets me delete single bookmarks or folders. In v3.6 I could select large groups of bookmarks.

    As a result of accidental import of older bookmarks I have hundreds of entries to remove. When I attempt to remove them even singly, Firefox hangs for a long time after a few removals. I"ll never get done at this rate.
    Is there another technique to do this?

    You can use this extension to find and delete duplicate bookmarks. <br />
    https://addons.mozilla.org/en-US/firefox/addon/sortplaces/

  • Got the 1920x1200 display, but it only shows up to 1680x1050. Was I conned?

    Got my new 17" Macbook Pro with the High-Res display at Apple Store in Atlanta last Thursday, and yesterday I decided to check what if feels to work at the max resolution. The display preference only shows up to 1680x1050. Ran System Profiler, it reports 1680x1050 as the display's res. Have the Geniuses done it again?
    What do I do now, since I'm in Athens Greece, i.e. half way around the world, and won't be anywhere near the US for the next 8 months or so?
    Many thanks, people.

    Mark,
    Thanks for the post. Did you read my previous post
    about Sony's support of a UK customer working in
    Greece? I don't understand why it should be above and
    beyond the call of duty. They offer worldwide cover
    during their AppleCare period. I am using (well,
    trying to, anyway) their product in the very way it
    was meant to be used: on the road. They cover me
    worldwide. Why must I fork out a good few hundreds of
    bucks to help them do what it purely their job?
    Really, it's just my opinion of my expectation, which is completely irrelevant. I did not mean it in an argumentative way. But, to play devils advocate: Apple could refund you $100(difference of cost) or pay 1)A couple of hundred bucks for international shipping.2)insurance(whatever negligable amount that would be. 3)I assume VAT, when re-entering Greece.4)Depreciation on the 'book you have now.(meaning they would likely resell as a certified or refurb.)Plus any other incidentals. From that perspective I would think they would simply offer you the difference. But, I hope that's not the case.
    If you haven't read it already, here is a link to the return policy. http://www.apple.com/legal/salespolicies/retailus.html
    note:* Products can be returned only in the country in which they were originally purchased.
    Again, I want to stress the irrelevance of Warranty issue, support, AppleCare etc. Even of the return policy. All of that is based on the assumption of having the product you wanted not working, or simply buyers remorse. Which isn't the case here. The product works fine, it's just not what you requested,ordered and paid for. I should think Apple, and the Apple store would want to get you the right book.
    As has been mentioned above, call and keep calling until it's resolved. Best of luck!

  • Query to display info depending on certain criteria

    Hi,
    I have a CFC with the following query in cfcomponent.
    <cfcomponent>
    <cffunction name="getMarket" access="remote"
    returntype="query">
    <cfquery name="qmarket" datasource="test" >
    select
    DISTINCT tbl_orders.market as marketname
    from tbl_orders
    where trading_date = 'I dont know how to display the date
    here'
    /cfquery>
    <cfreturn qmarket>
    </cffunction>
    </cfcomponent>
    On my flex application window I have a DateField control
    named 'date_control',which displays a date which is found in
    tbl_orders. For your info, tbl_orders has the following fields
    (market, trade_date etc). How do I put in my query (in my cfc), the
    trading_date='date_control' in the 'WHERE' statement.
    Should you have further queries, or any doubts please let me
    know.
    Many thanks

    I'm not familiar with the CF side, but you need to pass the
    selectedDate property of the Flex DateField to the cffunction and
    the cffunction needs to have a <cfargument> tag. You'll have
    to look up the syntax for that in the CF manuals.

  • ADF-BC JSF Counting the number of displayed rows that meet certain criteria

    Hi everyone.
    I have a JSF page that displays a table containing rows with a type attribute that may be either 'A' or 'B'. The page uses an executeWithParams form in order to set query parameters and execute the query. My users have asked me to display percentage information for type A rows at the same page.
    One way to do this would be to create an application module method that would parametrize the query, execute it, iterate through the results, do the calculation and return everything in a formatted string.. Somehow this approach does not seem right.
    Is there a best practice regarding situations like this? Any reference to code example would be perfect.
    Thanassis

    Maybe you can use the getEstimatedRowCount() method on the view.
    See more info here:
    http://download.oracle.com/docs/html/B25947_01/bcquerying006.htm

  • Uploaded site to server. Server view shows all files there, but can only see previous version.

    Hi,
    I uploaded and synchronized new files with the server. The files are showing in my server view - every single one.
    However, somehow, I can't see them at the site URL address.
    The only thing that is showing there, are the older files for this site, and only one page.
    Does anyone know what went wrong? ... and how to fix it?
    Thanks

    > so was assuming that the system will put things in the right place, and not create a new file with the same name ???
    It will put the files where you tell it to -- where you've defined based on local/remote site definitions.
    It's not technically possible to have two files with the same name in the same folder. Check that the case are identical - Unix systems are case sensitive.

  • HT1311 I can't get the country to change because I need to get rid of all my money but I have 84 cents

    I have accidentally change countries for my iTunes Store and now I can't change back to Australia. I try to change it but it says I need to get rid if all my money but I only have 84 cents and can't get rid of it. Can anybody help me with my problem

    You can't buy something for more than 84 cents? like spend a $1? 

  • TS2972 I assume my Apple TV should allow me to view all events,albums and slideshows but It only allows four events to display on my TV. I'm using a Optus mini Wi Fi for my home network. Could this be the reason for limited access via my iMac computer? Ch

    I assume my Apple TV should allow me to view all events, albums and slideshows in my iPhotos app but it only allows four events and four albums to display on my television. I'm using a Optus mini Wi Fi for my home network. Could this be the reason for limited access via my iMac computer?
    Chris

    No, I have not chosen photos to share as I assumed that the Apple TV would access all photos and music that are stored on my iMac. 
    Thanks for your advice. I will check it out.
    Chris

  • The calendar sync is recently not working correctly, not display "All events" but it only displays the last six months for my individual entries. My repeating entires do go back further, though. How do I fix?

    I have an iPad 5.1.1. The calendar sync has started to not work correctly. I have it checked "All events," but it only displays the last two months for my individual entries. My repeating entires do go back further, though. How do I fix?

    HI Jason269. Thanks for your reply, however I wrote that I already have "All events" checked. If All Events is checked and it doesn't diaplay all events, how do I fix? It seems this is a common issue, as I have read many others on here state the same problem.
    I believe my problem occurred when I synced my iMac calendar to my iPad calendar using yahoo. Yesterday, I unsynced them on my iMac controls. When I checked my iPad calendar, all of my old entries reappeared - but only for five seconds and disappeared again. So, the data is saved and still there but cannot be displayed, even when I have All events checked. In fact, it only shows my individual entries for the last two months, but does show all my recurring entries. If I switched to last six months, I will see everything for the last six months. If I switch back to all events, it is only for the last two months.
    As I mentioned, others on here have expressed exactly the same issue, including the two month example and having used yahoo.
    For legal purposes, I need to be able to use the information from my indidual calendar entries in an upcoming court case. So I really need to fix this ASAP!

  • Od classic  all i'm getting on the display is a blank white screen, itunes recognizes it but is only displaying 127gb free even though it's empty and should be 148gb free

    after replacing both the logic board and hard drive on my ipod classic all i'm getting on the display is a blank white screen itunes recognizes it after a restore but is only displaying 127gb free instead of 148gb. the hard drive is a brand new 160gb the logic board came from a working 6th gen 120gb ipod classic

    Will,
    "I thought you bought the entire display and had two LVDS cables?"
    Right, but I mean I think the connector on the logic board might be detached/broken. When I tested the old display, I completely removed the new one, cables and all, and connected the old one with the original LVDS cable. So these symptoms are independent of the lcd/cables that I use.
    Yes that socket could be bad and this:
    Even the random distorted coloration on the cracked lcd was replaced by blank whiteness.
    would point to that problem. Did you try messing with that connector when it's powered up?
    I'm not sure I follow. By "completely black screen" I meant no backlight...
    Detached GPU a.k.a ball grid array ATi chip:
    -computer boots, with chime
    -distortions in color
    -flickering lines
    -cycling through red, green and blue
    -ultimately a blank screen (but still backlit?)
    I have an ATI 9200 GPU chip that failed in a way I call "black moving shadows"
    Detached U28 chip the Danes mounted a complaint about:
    -computer will not boot, no chime
    -loud constantly whirring fan
    Right that pin 15 I talked about. Relatively easy to solder back.
    -maybe will boot if clamped on left of trackpad, but with intermittent graphical distortions
    No there would be no graphic anomalies in this failure and clamping left of the track pad is a problem since that's where the hard drive is. The pressure should go on U28 as indicated in the Cory Arnold site better resolder pin 15.
    I guess I just want to get this all sorted out for posterity.
    OK. If you hit a wall you could send it up here and I'll take a look.
    Richard

  • Record count that meet certain criteria in query

    Dear all,
    I need to calculate number of customers that bought particular material in certain period, how can I do so?
    e.g.
    Cube Data
    SO__CalMonth___Customer_____Material
    1____2008.01____Customer A___ Material A
    2____2008.01____Customer B___ Material B
    3____2008.01____Customer A___ Material A
    4____2008.01____Customer C___ Material A
    Expected Query Result:
    CalMonth__Material_____Customer Count
    2008.01___ Material A___2
    2008.01___ Material B___1
    2008.01___ Material C___1
    Since SO 1, 3, 4 all sell Material A, but only 2 customers (A & C) are involved, so the result is 2.
    Since SO 2 sell Material B, and it involve only 1 customer B, so the result is 1
    Please help!!
    Points will be assigned for helpful answers.
    Thank you.
    Best regards,
    Chris

    Dear Pavan,
    Can you further elaborate the formula you mentioned?
    Source Data;
    SO__CalMonth___Customer_____Material
    1____2008.01____Customer A___ Material A
    2____2008.01____Customer B___ Material B
    3____2008.01____Customer A___ Material A
    4____2008.01____Customer C___ Material A
    According to what you suggest,
    "Drag date char,material and customer into rows and hide customer char."
    It will result in
    CalMonth__Material_____Customer
    2008.01___ Material A________A
    2008.01___ Material A________C
    2008.01___ Material B________B
    But I want to merge the first 2 Material A into one row, without showing the customer. I just need to count only.
    Please advise. Thank you.
    Best regards,
    Chris

Maybe you are looking for

  • To complete serialization, please quit and restart Photoshop.

    Hi, I keep getting this message when I try to start Ps... I'm on a Pro Mac Mid 2010, OSX, 2.8 GHz Quad-Core Intel Zeon, 12 GB 1066 MHz DDR3 EEC, ATI Radeon HD 5770 1024 MB

  • Changing Top Level Navigation

    Hi, The top level navigation is always displayed as TAB. Is there any way that we can change this to appear as tree level navigation. If yes what are the steps required >? <b>*To be delivered asap* Cheers, *RAJ*</b>

  • Accumulative time counter

    Hi, I am developing an online training web application in MVC framework, i have to maintain a accumulated time counter for every user . for example 400 hrs a course means (00.00.00 to 200.35.45) (hr/minute/seconds) format .I will have to count for th

  • Opening/Closing Photoshop Elements 13

    After exiting Photoshop Elements 13, when I want to re-open, the main menu page opens, but when I click on "Organizer", nothing happens. When I open Windows Task Manager, there are two Elements Organizer and 1 Photoshop processes still running. When

  • Need Documents on SAP Workflow

    Hi, Could anybody please send me some good documents on SAP Business Workflow? Thanks and Regards, Pritam