Another way to recover the data - query

I tried the latest data for these type_idS: '306 ', '303', '304',' 305'

Here's the query according to datatime. Other alternatives to get the same

Select T.TYPE_ID, t.t_desc, T.CREATED_DATE in gen_comment t
where
(t.type_id, created_date) in
(select dfd.type_id, max (dfd.created_date) in gen_comment Diabaté
When type_id in ('306', '303', '304',' 305')
Dfd.type_id group);


gen_comment

TYPE_ID created_date t_desc
rere 303 13/05/2009-09:07:50
Diabate 303 2009-05-13 10:14:24
Wew 303 05/13/2009 10:20:51
304 dsds 2009-05-13 10:20:51
304 sds 13/05/2009 10:20:51
sfef 305 13/05/2009 10:20:51
305 European works councils 2009-05-13 10:20:51
305 ewged 13/05/2009 10:20:51
305 hghgg 13/05/2009 10:20:51
Ferfer 306 13/05/2009 10:20:51
306 dfdfbv 13/05/2009 10:20:51

Thank you.

Hello

An alternative:

SQL> select * from gen_comment;

   TYPE_ID T_DESC CREATED_DATE
---------- ------ ----------------------
       303 rere   05/13/2009 09:07:50 AM
       303 dfdf   05/13/2009 10:14:24 AM
       303 wew    05/13/2009 10:20:51 AM
       304 dsds   05/13/2009 10:20:51 AM
       304 sds    05/13/2009 10:20:51 AM
       305 sfef   05/13/2009 10:20:51 AM
       305 ewcs   05/13/2009 10:20:51 AM
       305 ewged  05/13/2009 10:20:51 AM
       305 hghgg  05/13/2009 10:20:51 AM
       306 ferfer 05/13/2009 10:20:51 AM
       306 dfdfbv 05/13/2009 10:20:51 AM

11 rows selected.

Elapsed: 00:00:00.01
SQL> select type_id
  2  ,      t_desc
  3  ,      created_date
  4  from ( select   type_id
  5         ,        t_desc
  6         ,        created_date
  7         ,        max(created_date) over (partition by type_id) max_date
  8         from     gen_comment
  9         where    type_id in (306,303,304,305)  -- HOPE WE'RE NOT STORING NUMBERS AS STRINGS HERE?
 10       )
 11  where max_date = created_date;

   TYPE_ID T_DESC CREATED_DATE
---------- ------ ----------------------
       303 wew    05/13/2009 10:20:51 AM
       304 dsds   05/13/2009 10:20:51 AM
       304 sds    05/13/2009 10:20:51 AM
       305 sfef   05/13/2009 10:20:51 AM
       305 hghgg  05/13/2009 10:20:51 AM
       305 ewcs   05/13/2009 10:20:51 AM
       305 ewged  05/13/2009 10:20:51 AM
       306 ferfer 05/13/2009 10:20:51 AM
       306 dfdfbv 05/13/2009 10:20:51 AM

9 rows selected.

Elapsed: 00:00:00.09
SQL> -- your query
SQL> select t.type_id,t.t_desc,t.created_date
  2  from gen_comment t
  3  where (t.type_id,created_date) in ( select dfd.type_id,max(dfd.created_date)
  4                                      from gen_comment dfd
  5                                      where type_id in ('306','303','304','305')
  6                                      group by dfd.type_id);

   TYPE_ID T_DESC CREATED_DATE
---------- ------ ----------------------
       303 wew    05/13/2009 10:20:51 AM
       305 hghgg  05/13/2009 10:20:51 AM
       305 ewged  05/13/2009 10:20:51 AM
       305 ewcs   05/13/2009 10:20:51 AM
       305 sfef   05/13/2009 10:20:51 AM
       306 dfdfbv 05/13/2009 10:20:51 AM
       306 ferfer 05/13/2009 10:20:51 AM
       304 sds    05/13/2009 10:20:51 AM
       304 dsds   05/13/2009 10:20:51 AM

9 rows selected.

Elapsed: 00:00:00.11

Tags: Database

Similar Questions

  • Any way to recover the data from your old phone?

    Hello, community! Unfortunately, on 3 September, I broke my iPhone 5 c to the point where I could not it works. He continues to receive messages, photos, notifications, etc. - I could see notifications on the screen, but I could not get the phone by any means. The last backup I had for this phone was the date that I broke it (again, the 3rd). My provider has informed me that, to be eligible for an insurance claim, I had to delete/remove the 5 c. Unable to do it directly on the phone, I wiped the phone clean via iCloud, without this backing up.

    Sidenote: I remember having synchronized iCloud iMessage between my MacBook Pro and my 5 c, but at the point where it did not work - perhaps a change in the settings and I had not bothered just re - implement.

    Now I have an iPhone replacement 6 and I was wondering if there was anyway I can retrieve messages, images, etc. that have been sent to- and has received, the 5 c while he was still on the wireless plan. I told several people to text me important information, which later, I would be able to see the new 6. All these messages are gone for good? Or is it possible I can retrieve this information?

    Thank you!

    Have you tried to configure the phone, signing with the same iCloud account that you had on your 5s and then by selecting the game it from a backup to see if you can access the backup you did on 9/3? It's in your iCloud account, so your backup should be there.

    See you soon,.

    GB

  • flash drive crashed; Formatt required; any way I can recover the data?

    I downloaded a file to my USB key quickbooks.

    The first time that I saved the file to the flash drive errored out in the middle of recording.

    When I tried to access the file on the flash drive, I was told the drive needed to be formatted.

    Is it possible to recover the data on the flash drive?

    Thank you.

    Hi RexSweetwood,

    The problem that you are experiencing is very common, it is often caused by the pluging and unpluging the flash hard drive. In this case, you probably can't get your data from the flash drive, however, if the data in the flash player are very important, you can contact the manufacturer of your flash drive to ask if you can recover the data.

    In other words, in this case, you can easily get your fixed USB (the manufacturer can do it), but you probably cannot recover the data.

    Good luck to you.

    Gavin

  • Could not initialize and I need to recover the data on the hard drive.

    Original title: computer MOM will not start and I need to recover the data on the hard drive.

    It's an old computer and I do not know what version of Windows it was running.  I guess I need a bootdisk of exploitation, but where can I download that?  Or would it be easier to pull and make a secondary drive in my computer that I just replaced?  It works under Windows XP.

    Hello

    If the old system does not start could be the hard drive. Put the hard drive in another computer as a 2nd drive and then access the files. If you use a computer XP, Vista or Windows 7, you should be able to access the files, unless the drive has failed.

    You can save your files by putting the drive in another computer as a 2nd drive (better) or a USB external drive case and then save up to removable media such as CD, DVD or other USB drives. Of course a real store of the computer or the manufacturer of your system can help to recover the files.

    Or you can use a boot Ubuntu CD to back up data. (This will not work if the hard disk is defective or other issues preventing the system from booting from the CD/DVD drive.)

    Use Ubuntu Live CD to backup files from your Windows computer dead
    http://www.howtogeek.com/HOWTO/Windows-Vista/use-Ubuntu-Live-CD-to-backup-files-from-your-dead-Windows-computer

    I hope this helps.
    --------------------------------------------------------------------------------------------
    Rob Brown - Microsoft MVP<- profile="" -="" windows="" and="" devices="" for="" it :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Is there a way to recover the EFS encrypted files stored on an external drive without the origianl certificate?

    Is there a way to recover the EFS encrypted files stored on an external drive without the original of the certificate?

    I had photos/files stored on an external drive and have been encrypted with EFS in XP. The main drive crashed, all keys have been lost. Got a new main drive, installed the new OS and now can't access encrypted files.

    Unless you can retrieve parts of your old drive or have a backup of your encryption certificate, you have probably lost all of your encrypted data.  Recovery agents work only if they are in place when the file/folder is initially encrypted.  A program like AEFSDR might be able to resurrect your old certificate from your old drive if it is readable at all.  If you plan to use EFS in the future, make sure you read the following article the court - particularly paragraph entitled "why you should back up your certificates.

    "Best practices for EFS file system.
      <>http://support.Microsoft.com/kb/223316 >

    HTH,
    JW

  • Windows XP does not start. Can I boot Windows from a disk so that I can recover the data?

    Windows XP does not start. Can I boot Windows from a disk so that I can recover the data? This should be a CD because it doesn't have a floppy disk on my laptop drive. It is maybe that my hard drive has begun to fail and therefore cannot locate XP startup files. I can not start using one of the other methods of starting for example. Safe mode. If I can recover the data, I can then reload Windows and check the surface of the disc etc etc. Thank you all for your comments. Steve

    Lately, I'm leaning toward the Hiren's BootCD you can download here:

    http://www.hirensbootcd.NET/

    On the left, click on download, scroll down, choose the most recent version

    The download link is a little hard to see.  It is at the bottom of the page, above the drop for older versions and looks like this (click this component to download the ZIP file):

    Direct HTTP mirror + Torrent, Torrent Magnet

    Click the "Live HTTP Mirror" link to start the download and save the ZIP file on your desktop of somewhere that you can remember.

    The ZIP file is large, so the download will take probably some time to complete.  Then unzip the download to extract theHirens.BootCD.ISO file that will be used to create your new bootable CD.

    Create a bootable CD. ISO file is not the same as simply copying the. File ISO onto a blank CD.  You must use software that includes how to burn a. ISO to a CD to create a bootable CD.

    File ZIP the Hiren is the file BurnToCD.cmd that you can double-click to launch it.  The BurnToCD.cmd will use the file BurnCDCC.exe to burn the. ISO file onto a blank CD using your existing CD burner.  You can also use your own burning software as long as your software is able to create a bootable CD. ISO file.  More modern burning programs can create a bootable CD. ISO image.  Create a CD from an ISO image bootable is not the same as just the file on a CD burning.

    If you need a simple and CD burning, this is a free software popular software:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your new bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.
    These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When starting on the Hiren's CD, you will see a menu of options.  Choose Mini XP.

    It will appear while Windows is loading and you will be presented with a desktop computer that has the look and feel of the interface of Windows Explorer, you are already accustomed to using.  You will feel at home.

    Using the Mini XP, you can access the Internet, maneuver around your system, copy files, replace the files, run the scans for malware, etc.  There are dozens of free and useful tools included in the CD that can be used to repair your system, or copy files to another device such as a USB device or an external drive if drop in trying to repair your system.

    If you want to see if you can fix your system, describe what is happening when you try to start and to answer these questions:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Norton, Spybot, AVG, Avira!, Defender, ZoneAlarm, PC Tools, MSE, Comodo, etc..

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

  • I want to recover the data on the hard drive using a laptop as a hard drive.

    Original title: Using a laptop as a hard drive...

    On a MAC, I can plug my laptop into my office with a firewire port to access the hard drive on the laptop without the OS being ran on the laptop.  Windows Vista has such a thing?  If so, how do you go?  The hard drive on my Windows laptop fails and we want to try and recover the data, by hooking it to a desktop as shown above with the MACs.

    Thank you in advance!

    Hello

    "There is no way to access the hard drive when there is no operating system and if the hard drive is connected terribly."

    However, you can remove the hard drive from the laptop and connect it to the office with a case of hard disk that comes with the USB cable.

    Reference:

    Space to grow:
    http://Windows.Microsoft.com/en-us/Windows-Vista/room-to-grow-get-more-space-by-using-external-hard-disk-drives

  • Is there a way to get the data for submission of form of eloqua using the REST API?

    I was wondering if there is a way to get the data for submission of form of eloqua using the REST API?

    Thank you

    On the page that egan related, there is a 'RawData' field for FormSubmit activities. In this area, the raw sending the form query string is returned.

    Whatever it is, you can get this info from the activities of the API block, or the endpoints data Rest API.

  • my iphone 6 is disabled. can I recover the data

    my iphone 6 is turned off after that I entered the password OK 'evil' has little time. I can recover the data that I didn't use icloud or itunes?

    I searched on the internet and there are some applications that claim to be able to recover data lost on the iphone 6. These applications true or is it a case of me having to throw this phone and get an android who has all the drama of itunes and iclouds?

    most of these applications is authentic, but you must first unlock the iPhone...

    If you only enter the wrong password several times, wait until you enter the password again, and then put it in the correct password.

    If you do not or you have forgotten the password, there is no alternative to 'restore' the iPhone as a sense new, you lose all the data on it. When you have no backups, they will be lost for good.

    Here's how this (method 3 recovery mode):

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

    After that, here's how configure the restored iPhone:

    Start with the iPhone, iPad and iPod touch - Apple Support

    Lex

  • Is the another way to get the download from the support section

    Is there another way to get the download from the support section?

    Because the download speed is very slow. For example, in the new version of the value-added packaging and its 116 MB big need. A normal download time would be approximately 5-10 minutes. But when I download from Toshiba I need 2 to 6 hours. Not good for a company that manufactures laptops and high-performance computers.

    And the worst thing is that the connection is reset after a few hours... so I'll never get the update.

    Does anyone know help?

    Gruss
    Thomas

    Unfortunately, he has no other way to get the Toshiba drivers from the European pilot of Toshiba page.
    You are right at this moment that the file transfer is too long.
    I get about 10-19KO/s. That s is really very slow.
    Maybe the server is overloaded who knows I hope this will be resolved in the next time.

    Best regards

  • Some of my F keys on my laptop no longer work. Fixing of the F keys would be great, but at least it is another way to switch the video output?

    Original title: screen toggle main F

    Some of my F keys on my laptop no longer work. Therefore, I can't turn my screen to another monitor (IE. TV.)  Fixing of the F keys would be great, but at least it is another way to switch the video output?

    Hello

    Have you made changes on the computer before this problem?

    Step 1: Check if you are able to use on-screen keyboard function keys and send back the same.

    Step 2: The following article can help you in the selection of the display.

    How to configure and use multiple monitors in Windows XP
    http://support.Microsoft.com/kb/307873

  • Is there a way to recover the deleted files without using any software?

    Is there a way to recover the deleted files without using any software?

    Is there a way to recover the deleted files without using any software?

    # Software is necessary.

    First check the recylcl tray. If she isn't here, read the following:

    "Deleting" a file does not delete actually it brand just space be used. There are third-party programs that can sometimes recover deleted files. The problem is that the space used by the file is likely to be replaced very quickly, and this makes the unrecoverable file.

    So your chances of successfully recover this file are decent, if you try it again immediately after deleting it and quickly down. If you have used the computer since then (for example to read this answer and write that question), your chances may be very weak now.

    But if the file is large enough, it's still worth a try. Stop using the computer in question immediately, if you haven't done so already. Download an undelete program (in here is one: http://www3.telus.net/mikebike/RESTORATION.html but there are many other choice; do a search) on a friend's computer and bring it to you on a diskette, CD, or drive to the thumb.

    If that fails, your only recourse is to bring or send the drive to a professional file recovery company. This kind of service is very expensive and may or may not work in your case.

  • I try to install vista on my laptop but a letter of the key is not visible, all the other parts are very well including the serial code, is there another way to get the key of the other information?

    Taché product key

    Hello

    I try to install vista on my laptop but a letter of the key is not visible, all the other parts are very well including the serial code, is there another way to get the key of the other information? The laptop currently has non-OS I've tried to reinstall.

    Thank you

    Scott

    Product keys are bit-agnostic - they don't care if it's 32-bit or 64-bit.

    However, cannot legally use the recovery disk from one computer to a different constructor machine - as other licenses are not properly paid..

    There is nothing nonetheless to try all possible variations on the absence of character (there are only 25, after all the )

    Other than that, your best option is to contact the manufacturer and order a set of recovery disc for the machine. I do no download available for Vista with SP2 - but you can download Vista with SP1 and create the disc.

    http://www.heidoc.NET/Joomla/technology-science/Microsoft/57-Windows-Vista-direct-download-links

  • I accidentally deleted a volume in Windows 7! How can I recover the data?

    I accidentally deleted a volume in Windows 7! How can I recover the data?

    I created a retractable partion on "D" Drive and later to try to remove it and accidentally I clicked on "D" drive instead of the new partition! "."
    Any ideas to recover data?
    Thank you
    Amal

    Hello

    You can try this free program; no warranty if.

    http://www.Piriform.com/Recuva

    See you soon.

  • How to recover the data pin and a location for visitors to the Web site

    need help

    I'm doing a project with asp.net blackberry

    How to recover the data pin and a location for visitors to the Web site when he pressed the button on the web using asp.net?

    so far, this is the only code that works for me to get a location in a web widget:

    http://docs.BlackBerry.com/en/developers/deliverables/17954/CS_Retrieving_a_GPS_loc_by_using_a_web_p...

Maybe you are looking for

  • not to force quit, can not control, ctrl, esc

    Sorry not my macbook right now so I have to get the specifications on that a little later. But recently some programs block and freeze. I can't force them to leave their, I can't press command, Ctrl, esc to bring up the menu force quit. I can always

  • USB 3 exit front USB 2 motherboard?

    I want to add two USB 3. ports at the front of my Antec Sonata case. My motherboard is an Inter that came with the USB 2 (http://www.intel.com/p/en_US/support/highlights/dsktpboards/d865gbf) technology, but I found an add PCI card which will be relea

  • I have two folders in the same subdirectory with the same name. How to remove the extra folder?

    I have 2 directories "documents" located in the same directory. They are as well located in C:\Documents and Settings\ [user_name]------directory. Duplicate folder is automatically updated with the same file names when I add files in the original fol

  • Touch no longer works on complementary Cintiq

    Hi all - this is weird: I tried to install on my Cintiq partner 8.1, and now touch does not except in BIOS, specific gestures Wacom as taken care of by their own driver, or in safe mode. Note that this is the first product when I installed 8.1, but c

  • rotation woes

    Yesterday, I upgraded Illustrator to 2014-dot-something 2015.3. Much to my dismay, when I enter a number in the field of rotation in the transform Panel, rather than turning that number of degrees from its original position, it positions the object t