Sorting records all except one  and maintaining index

I have a mysql table with three attributes.
att1 | att2 | att3
1 | 0.1 | 0.2
2 | 0.4 | 0.3
3 | 0.2 | 0.1
4 | 0.3 | 0.5
Now through my program, I select one record according to attribute 2. Suppose in this case I select the value 0.2(from att2) and get the index. Now what I want to do is: sort descending(here is want to exclude index 3 since it has already been identified by the first part of the program) according to the rest values in att3. I want the corresponding index of of these values too.
Can anyone help plz.... I have tried to make the problem clear...In case of doubt please ask me..
Thanks in advance
Rakesh

thanks..
i already solved it..
but thanks anyways....
its nice of u to ask

Similar Messages

  • TS3992 I changed my Apple ID and problems with my Account.Once iTunes store had sorted those out I decided to back up on my 3 devices.Now my Reminders and Notes are all old ones and the ones I did in the last few days have disappeared.

    I changed my Apple ID and had problems with my Account.Once iTunes Store had sorted those out I decided to back up on my 3 devices.Now my Notes and Reminders are all old ones and the new ones I created in the last few days have disappeared.

    Ok.  Found something that said to shut down and hold the option, command, p, and r keys on restart.  Held them down for a few restarts and everything automatically signed in and works.  Woohoo!!!

  • Scan with envy 5530 all in one and OSX 10.6.8

    the scan does not work on my new envy 5530 all in onesuggestions on your docs imply using applications on mac: no result machine requires that software be connected except i had no software with my printer, was told mac did not require the installation of software. and the printer did work as soon as connected and set-up.where do i go from there? do i need software? where do i get/download it? i already returned printer once because of printing/paper loading problem (after using an epson wthout a glitch for 6 yrs - changed for less expensive usage) and chose this in part for the scan function. so please... help

    Hi there,  Welcome to the HP Forums! I see that you are having trouble scanning with your HP Envy 5530, on Mac OS X 10.6. I am happy to help you with your scanning!  Some questions for you:  Are you able to make copies with the printer, by using the scanner glass? Copying Documents.How is the printer connected? Wireless, or USB? You can use either HP Software for your scanning, or non-HP Software for scanning, as shown in this guide, How to Scan: Mac OS X v10.6, it is up to you. If you want to use HP Software, you will need to install the full feature software and drivers, found at this website, HP Customer Support - Software and Driver Downloads. If you are still having trouble scanning, please try going through this scanning guide, A 'The computer is not responding' Error Displays for the HP ENVY 5530 e-All-in-One and HP Deskjet Ink Advantage 4510 e-All-in-One Printer Series, and let me know what happens! Hope to hear from you soon!  “Please click the Thumbs up icon below to thank me for responding.”

  • Found 0 results for Good Morning, I'm all for updates and maintaining, but I'm upset that Googletooolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Good Morning, I'm all for updates and maintaining, but I'm upset that Googletoolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Hi userwhat,
    Your personal data should have been saved, and you can try to follow these steps to fix your problem.
    *First, you should report that to the developer of the add-on the troubles that you are experiencing.
    * Then, you can try [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ The Add-on Compatibility Reporter], which allows you to use add-ons that haven't yet been explicitly updated to work with Firefox 5, and lets you report the results of compatibility.
    * For add-ons that do not work with The Add-on Compatibility Reporter, you can still downgrade to the previously maintained version, which is Firefox 3.6 that you can download here: [http://www.mozilla.com/en-US/firefox/all-older.html http://www.mozilla.com/en-US/firefox/all-older.html]

  • Good Morning, I'm all for updates and maintaining, but I'm upset that Googletooolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Good Morning, I'm all for updates and maintaining, but I'm upset that Googletoolbar is no longer compatible with Mozilla 5 because I had a great amount of sites saved on Google Bookmark and now it is lost. Any suggestions?

    Hi userwhat,
    Your personal data should have been saved, and you can try to follow these steps to fix your problem.
    *First, you should report that to the developer of the add-on the troubles that you are experiencing.
    * Then, you can try [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ The Add-on Compatibility Reporter], which allows you to use add-ons that haven't yet been explicitly updated to work with Firefox 5, and lets you report the results of compatibility.
    * For add-ons that do not work with The Add-on Compatibility Reporter, you can still downgrade to the previously maintained version, which is Firefox 3.6 that you can download here: [http://www.mozilla.com/en-US/firefox/all-older.html http://www.mozilla.com/en-US/firefox/all-older.html]

  • I have a new iMac and want to use my HP 7300 All in One and to use the "Fax"feature I need a phone port on computer and of course, this computer does not have one.  Are there any aftermarket devices for USB to phone that would work in this case?

    I have a new iMac and want to use my HP 7300 "All in One and cannot use the fax feature because there is no phone port is there a solution for this?BACellli

    You don't need a phone port on the iMac. The HP 7300 DeskJet Pro has an internal modem, you connect the printer's modem connection directly to your phone line. Please re-read the install directions that came with the printer.

  • I have a hp 6500 all in one and it is coming up with a error code ox61011beb and it wont print or fa

    I have a hp6500 all in one and it keeps coming up with error code 0x 61011 bed what is the problem

    Just to make sure...
    Launch iTunes then from the menu bar click Store / View My Account / Edit My Information.
    Make sure the Security Code and expiration date are available then click Done.

  • Have a HP C6180 all-in-one and I can never really do printing on bot sides of paper, even when it is selected in my i Mac all in one

    Have a HP C6180 all-in-one and I can never really do printing on bot sides of paper, even when it is selected in my i Mac all in one

    HI,
    You should be able to just leave it on, it should have a sleep mode which it will enter after a while.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Although I work for HP my posts and replies are my own
    Please mark the post that solves your problem as "Accepted Solution"

  • I accidentally turned the Bluetooth of my Mac all in one and now I can't use the mouse anymore so I don't know I can reactivate the Bluetooth again!! Please help!

    I accidentally turned the Bluetooth off from my Mac all in one and now I can't use the mouse anymore so I don't know I can reactivate the Bluetooth again!! Please help!
    Aisha05

    Try resetting the SMC.
    Barry

  • Z77A-gd65A boot error code 15 rebthing i removed all except cpu and ram and oot

    my pc used to work fine yesterday i shut it down and started it today and it kept cycling rebooting at code 15 on debug i changed to bios B and the same thing did clear cmos both ways even removed  the battery the same also removed all except cpu and ram but still the same result please help !

      I have no idea how you possibly could corrupt bios A if you weren't running Live Update or manually attempted to flash. if bios is really corrupted follow: >>Flashing a Corrupted bios when the alternate bios still works<<

  • I have a officejet j4580 all-in-one and i have lost the cd how can i set up my laptop?

    i have a officejet j4580 all-in-one and i have lost the cd how can i set up my laptop?
    This question was solved.
    View Solution.

    Hi justine28,
    Click on the link below to download the software and drivers for your printer.
    HP Officejet J4580 All-in-One Printer Drivers - Select your operating system
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Just purchased an hp all in one and I can't download software called apple and they suggested either epson or canon as hp always causes trouble to mac's can anyone suggest a good ebson or canon all in one.

    I just purchased an HP All-In-One and when I went to download software it said my Mac didnt support it to contact HP.  When I contacted HP they wanted me to pay to set up my computer so the machine would work.  I contacted Apple and the agent told me to take it back and get either Epson or Canon as HP is not always Mac friendly can anyone suggest a good Epson or Canon All In One.  Thanks for your help..this HP is going back.

    You will probably value these features:
    1. Decent speed
    2. Reliability
    3. Low cost of operation
    4. Wireless usage
    5. Strong printing quality
    Epson withdraw support for my old printer, so I've stayed with Canon - who regularly updates its drivers. The Canon MX 892 has been getting strong reviews for print quality, speed, and special features. Refills, through a third-party vendor, can be very reasonable; so the liberal use of ink probably won't be a major concern (unless you choose to stay with the Canon-branded ink).  Price is as low as $139, new, and about $100 used.

  • I have a hp photosmart c7280 all in one and i get a message that says "pump motor stalled.

    I have an HP photosmart C7280 All in One and I get a message that says pump motor stalled.  I have done everything from resetting and turning it off.  I have checked to make sure that there is not any paper jam.  It makes a clicking sound after it has been reset and then the message "pump motor stalled" pops up.  Any suggestions or should I just toss and buy new???  It is only three years old but it is out of warranty.

    You might try the suggestions in this post.  There is also a post here that reports success.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Hi  Maybe someone can help me.  I just bought an HP All In One and I was told that after I scan if I want to edit a document I need special software.  I have been recommended two one is the VueScan software and the other is OmniPage Software.

    Hi..I need help I have an HP All In One and I want to scan and be able to edit a document and I have been advised on two different softwares to install in order to do this function.  One is VueScan and the other is OmniPage...any suggestions?  I appreciate any and all help.  Thank you

    OmniPage is $500 and for Windows only!
    System Requirements:
    Windows® 7 32-bit or 64-bit Editions, Windows Vista 32-bit or 64-bit Editions with Service Pack 2, Windows XP 32-bit Edition with Service Pack 3
    A computer with a 1 GHz Intel® Pentium®, or higher, or equivalent processor. Multi-Core processor recommended for advanced performance
    512 MB of memory (RAM), 1 GB recommended for advanced performance
    250 MB of free hard disk space for the application files and sample images, plus 100 MB working space during installation. An additional 230 MB for RealSpeak® Solo speech modules. 150 MB for PDF Create and 500 MB for PaperPort. 30 MB for Nuance Cloud Connector
    1024x768 pixel color monitor with 16-bit color or greater video card
    CD-ROM drive for installation
    WIA, TWAIN or ISIS scanner driver
    2-megapixel digital camera with auto-focus or higher for digital camera text capture
    Web access needed for online Activation, Registration, Live Update and Nuance Cloud Connectors
    VueScan is one tenth of that and works a treat on the Mac!

  • Need a convenient method to record ALL sound in- and output

    Here's what I'm going to do: I'm working for a small music magazine and I'm going to be responsible for some of the interviews from now on. As they are often done by telephone I'm planning to use Skype, as it's a cheap method to call to foreign countries.
    Now I need a simple and convenient method to record these calls for later review. I tried using 'arecord', but it takes sound from the capturing device set in 'alsamixer', which is either the microphone or the mixer (general sound output). However it has to be the microphone, otherwise I cannot talk in Skype.
    So, 'arecord' is going to record the device which is set to capture, which is the microphone, so, I'm only getting my voice recorded, but not that of the interviewee.
    It would be ok to have something that just records all audio output (independently of what's set in alsamixer) as I usually redirect the microphone to the output as well as I wouldn't hear me that well with the headset on. Commandline-tools would be prefered.

    Hi,
    Do you mean that you want all 7 dates together on 1 row?
    Here's one way:
    SELECT LISTAGG ( TO_CHAR ( SYSDATE + 1 - LEVEL
                              , 'DD-Mon-YYYY'
                    ) WITHIN GROUP (ORDER BY LEVEL)    AS txt
    FROM    dual
    CONNECT BY LEVEL <= 7
    This is an example of String Aggregation, that is, taking a column on multiple rows, and concatenating all the values (however many htere happen to be) into 1 big string column 1 row.
    Like everything else, exactly how to do it depends on your Oracle version.
    For more on String Aggregation, including differetn techniques for different versions, see http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    Message was edited by: FrankKulash
    Sorry, I mis-read the question.

Maybe you are looking for

  • Urgent : Unable to maintain the Number ranges for Excise Groups

    Hi CIN experts............ In Development server I created 3 excise Groups (E2,E3 and E4), the same I was transported to Production. J_1IRG23A1, J_1IRG23A2 object number ranges are Excise Group specific. When I go to Tools - Number Ranges to maintain

  • HP Laserjet 1200 multiple copies problem

    I am trying to print multiple copies of an index card document to my HP Laserjet 1200 printer.  However, it will only print 1 copy, regardless of how many copies I tell it to print.  Any ideas what I'm doing wrong?  I have rebooted both the printer a

  • Blank Long Text in BPM alerts

    Hello Experts, I had configured dynamic alerts in BPM (of PI 7.1) and I am raising the same through Control step. The configuration is similar as described in blog /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-paylo

  • How to configure Soap to RFC adapter in J2SE engine

    Hello, i want to configure a scenario using J2SE engine.. want to configure soap to rfc.. can anyone please help me out in configuring the scenario. Thanks, Soorya.

  • Suggest manufacturing scenario Discrete / Repetitve  for Iron & Steel indus

    Which scenario u will suggest for Iron & Steel industry & why? Product - Galvanised Plain/ Galvanised Corrugated Sheets Process- Pickling-Cold Rolling -Galavanizing- Cutting /Corrugation but the product is varying in THK & Width so how u can go for r