Display the master data on the time interval of 5 minutes

I tried my way, but cannot resolve the requirement of below mentioned desire please help me solve this question please.

I need to show the presence of the employee, but one record within the interval of 5 minutes of the old time recorded as shown below

Time                                            EMP_ID

16/11/2015 10:01:11 193

16/11/2015 09:55:11 193

16/11/2015 09:54:18 193

16/11/2015 09:53:24 193

16/11/2015 09:52:11 193

16/11/2015 09:51:18 193

16/11/2015 09:50:24 193

16/11/2015 09:49:29 193

16/11/2015 09:48:38 193

13/11/2015 09:36:38 190

13/11/2015 09:33:38 190

13/11/2015 09:30:11 190

Power required

Time                                            EMP_ID

16/11/2015 10:01:11 193

16/11/2015 09:54:18 193

16/11/2015 09:48:38 193

13/11/2015 09:36:38 190

13/11/2015 09:30:11 190

I want to show the minimum date and time with in the 5 minute interval

Your solution is not what he wants to be (your result set is the same as mine, anyway).  He wants to roll every 5 minutes starting with a given record.  Here's one way:

with qry (ATIME, EMP_ID) as long as)

Select to_date('16/11/2015 10:01:11 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:55:11 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:54:18 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:53:24 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:52:11 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:51:18 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:50:24 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:49:29 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('16/11/2015 9:48:38 AM', 'dd/mm/yyyy hh:mi:ss AM'), 193 of union double all the

Select to_date('13/11/2015 9:36:38 AM', 'dd/mm/yyyy hh:mi:ss AM'), 190 Union double all the

Select to_date('13/11/2015 9:33:38 AM', 'dd/mm/yyyy hh:mi:ss AM'), 190 Union double all the

Select to_date('13/11/2015 9:30:11 AM', 'dd/mm/yyyy hh:mi:ss AM'), 190 double

)

Select EMP_ID, ATIME

(select EMP_ID, ATIME, min (ATIME) on (EMP_ID partition) as START_ATIME,

min (atime) over (partition by order EMP_ID of ATIME

range between the minute rest interval '5'

and unbounded following) as NEXT_ATIME

of qry)

Start by ATIME = START_ATIME

connect by prior NEXT_ATIME = ATIME

What gives exactly what he wants

EMP_ID ATIME
190 13/11/2015-09:30:11
190 13/11/2015-09:36:38
193 16/11/2015-09:48:38
193 16/11/2015-09:54:18
193 16/11/2015-10:01:11

Tags: Database

Similar Questions

  • How can I display the time of the data stored in a file using labview?

    How can I display the time of the data stored in a file using labview?

    Hi Matt,

    I think that we will need a little more information as to how you capture the data, what data you capture, etc.

    If you capture a waveform, is to extract the time data waveform which includes the t0 and dt values, so you can understand the time stamp of a specific data point as in the image below.

  • How to display the time in the report?

    Hi all

    I created a form master / detail in which one of the fields is the date in the format "MM/DD/YYYY HH: mi» The main report displays only "MM/DD/YYYY". How to display the time as well?

    Thanks for the help!

    Change the format of the item page for the JJ/MM/AAAA HH: mi, he probably missed just JJ/MM/AAAA...

    Thank you

    Tony Miller
    Webster, TX

  • How to display the time on the computer in labview?

    Hello

    I have displayed the computer time in labview... "' show the attachment.

    but I want to display the time in the best view... as the last accessory

    have you any suggestions?

    The output of Get time in seconds is already in the timestamp data type.

    Lynn

  • How can I set the time on the toolbar of the low wing? When I click on the taskbar do a right-click and then click Properties, it does not give me the option to display the time?

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    Right-click the taskbar, and then select Properties. On taskbar you of the tab, click Customize. Scroll to the clock and change the "behaviours" on it.

  • How to display the time of growth of the autoextended oracle files?

    Hello

    How to display the time of growth of the autoextended oracle files?

    Hello

    1. do you have re - seen view data dictionary in the oracle documentation?

    DBA_DATA_FILES

    dba_free_space

    dba_Tablespaces

    -Regarding (updated)

    DBA_HIST_SEG_STAT

    DBA_HIST_SNAPSHOT

    DBA_TABLESPACE_USAGE_METRICS

    DBA_HIST_TBSPC_SPACE_USAGE

    2. If not, then re - discovers once and understand the use of columns and build the query.

    3. If Yes, then why you have not tried to build queries

    4. again, if you're lazy, search in google or forums. ton of translates queries

    5. What are the disadvantage of step 4 - you will not get to learn something (0% gain of knowledge).  If you really want to learn, then try to learn to build query, and try to understand the views of data dictionary

    6. When you spend above task at the end of the task you will get satistided with two things

    --> Understand how to use the Oracle docs for help and where to look in the future

    --> Your skills / knowledge gain - trust me it will make you another step to learn new things.

    7. If you don't know SQL, learn the basics takes hardly 2 to 3 hours and then you can build query.

    It may be useful

    -Pavan Kumar N

  • display the time zone

    display the time zone for a given date

    SELECT FROM_TZ (TIMESTAMP ' 2011 - 01 - 20 10:11:31.1111', 'IS') FROM DUAL;

    FROM_TZ(TIMESTAMP'2011-01-2010:11:31.1111','EST')
    -------------------------------------------------
    10.11.31.111100000 20 JANUARY 11 PM EST

    1 selected lines

    If this isn't the case, works, check your time zone functions...

  • I need to display the time on my server...

    All I need is just to display the time on my server... I could realize once you use php, but then I'm stuck...! How? Well well... memory cache is more difficult that I thought before... Please, your help will be so useful!

    Thanks in advance,

    The thing is that you load the same php that is in your cache, you have to believe flash you load a different file each time:
    Here is a quick hack to do so:

    var today_date:Date = new Date();
    LoadObjectInstance.load ("file.php? a =" + today_date.getTime ());

    See you soon,.
    Gorka
    www.AquiGorka.com

  • How to display the time?

    I'm not sure what it's called this small area/Strip, but in Garageband, I could get it to display the time. I can't do in Logic Pro X. Maybe there's no way to do it?

    You must activate the advanced controls.

    http://help.Apple.com/LogicPro/Mac/10.2.3/#/lgcp5cbf192f

  • Display the time running

    Gurus,

    How to display the time running in my form? can you please send the code as well as the event and in my application if I want to Flash a particular text, can I do this? If so, how

    Concerning

    Of course, you need to start the countdown in a trigger. A TIME NEW FORM INSTANCE is a good place to do it. Be sure to create it as a timer that repeat themselves.

    To see if your fire WHEN-CLOCK-arrival at EXPIRY, put a message in it and see if it is displayed.

  • Can you assign the time of windows logon minutes rather than hours?

    Can you assign the time of windows logon minutes rather than hours?

    If you are referring to the TIME parameter net user, which is limited to increments of one hour.

    If you want to control (and the ability to force logoff as well), you will need to use a third party software.  Access Boss a 15 minute granularity.  I'm sure like many other applications, probably some of free.

    If you only want to restrict Internet access (rather than access to the computer itself), your router may be able to restrict access with granularity to minutes.  "Parental control" software, such as NetNanny, also restrict Internet access, although that usually not at the minute.

  • My incoming emails stopped displaying the date, it displays the time only.

    Also, my sent emails do not show the date. Just the time is displayed.

    If the e-mail received or sent has been done today the time will be displayed.

    E-mail messages that are older than today ' hui will indicate the date and time.

  • My only of taskbar displays the time. The date is missing. How can I fix?

    Display date and time in my taskbar has changed to display only the time. Is there a way to get it back to normal?

    No, we tried all options of this Properties dialog before asking this question. We have more than one user on this computer desktop and task bar settings are identical, but with different results.

    I was unaware of this from your original post.

    You may have a corrupt user profile.

    See this

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

  • Displaying the time in the Date fields only when it is available

    Is it possible to display the component "hour" of a field of date only when the component "hour" is available? I know that the default behavior of not showing the component "hour" of the date fields can be changed by setting the date format NLS in the preferences to include the time as well. However, what causes the fields without component to appear with zeros. (For example: If nls date format is DD-MON-RRRR HH24:MI:SS, a date with no field component "time" will appear as * 1 January 2008 00:00:00 *). It is a configurable option in Quest SQL Navigator, with 3 options available, that says "(afficher l'heure dans les champs date: a) (never, (b) when available or c) always, who miss me dearly in SQL Developer."

    Thanks in advance for your suggestions,
    KLS.

    No, but you can vote on the feature to http://htmldb.oracle.com/pls/otn/f?p=42626:39:4403831115154402:NO:P39_ID:16221 request to add weight to implementations in a future version.

    Kind regards
    K.

  • Display the time of the next election

    Hello



    I have a poll that refreshes the data on a table every minute.
    How can I display the duration up to the following call to the listener survey?
    I use ADF 11 g (11.1.1.2 Jdev).

    Best regards
    Bostjan

    Hello

    You just need to change the logic, but the method remains the same. Yes, the survey doesn't store any value. But you still have ways to achieve this.

    For ex, the code below displays an account countdown (from 60 seconds) and updated every second.

    
    
      
      
        
          
              
              
              
              
               
              
              
              function updateText(event){
              event.cancel();
              var optxt = AdfPage.PAGE.findComponent("ot2" );
              var currCount = optxt.getValue()-1==0?60:optxt.getValue()-1;
              optxt.setValue(currCount);
    
              }
              
          
        
      
    
    

    So, in your case, you can have 2 polls, one for the updating of the table (with 1 min interval) and another for the updating of the timer (with the interval of 1 second).

    HTH.

    Arun-

Maybe you are looking for

  • Need wireless driver for Tecra M2

    Hello Could someone help me please! I need a driver for wireless card for the Tecra M2 (PTM20E).Any link to the pilot would be a great help Thanks :)

  • Satellite C850D - keyboard is all messed up

    I have a portable Satellite C850D - 12L. When I press N its types a and B with her also. And vice versa. As this nb nb. Also when I type y. It adds a 5, as this y5. And when I type t it also reduces the volume. It happened the day after. It doesn't s

  • HP Officejet Pro 8600: HP Officejet Pro 8600 cut header/footer when printing duplex

    Hey guys, frustrating problem slowing of my work, appreciate anyone who takes the time to volunteer expertise. Print single sided, my Word template prints very well. Select "print on both sides", "flip long edge ' and the footer no longer appears in

  • Installation of the monitor three Lenovo E550?

    OK, so I have a Lenovo E550 and OneLink Pro Docking Station (the one with the RFP, and DVI Ports). So when I got to my laptop, I was able to connect successfully three external monitors to your laptop. 1 using the VGA Port on the side of the laptop a

  • OfficeJet 6830: Problems scanning

    Hi, I just bought an Officejet 6830 and I have a mac. Is there anyway that scanning duplex can be activated by an Apple operating system because I was able to dig a few days and still can't find what I'm looking for.