I have problem sql statement, can someone help me?
How are you?
SQL > select * from tst
2 order by id, vacdate;
ID VACDATE VACINTERV
---------- --------- ----------
10-15 JANUARY 13 4
10-25 JANUARY 13 6
10-27 JANUARY 13 4
20-15 JANUARY 13 4
40 1 MAY 13 3
40 13 OCTOBER 13 7
50 13 OCTOBER 13 7
50 17 OCTOBER 13 7
60 24 MAY 13 5
60 24 MAY 13 3
This table contains the id == > employee id & vacdate == > is the start date of the holiday of employees & & vacinterv = > means the time interval of the holidays for example 7 7 days from 13 October 13 until 20 October 13
the problem is there are used (IE id 10) take vacations that overlap [take 25 January 13 (range 6) until 21 January 13] but take by mistake January 27, 13 other vacation causing Holiday overlap
How to select employees who will have a vacation that overlap?
LAG analytical use:
with t as)
Select tbl.*,
case
When trolling (vacdate + vacinterv, 1, vacdate) over (partition by order of identification by vacdate) > vacdate, 1
end overlap_indicator
from tbl
)
Select distinct id
t
where overlap_indicator = 1
/
ID
----------
10
50
60
SQL >
SY.
Tags: Database
Similar Questions
-
Hi, I am really new to the photo shop and I have a logo design, I need to have the transparent rendering of a white square? can someone help please?
already have the image on my screen, I can't seem to find the tool to make it transparent as I do with other software.
When you see a background in Photoshop, it may not be transparent, single layer can have transparency. Background isn't a leyer, even if you see it in the layer panel.
Double click on background and will convert them in a blanket all Layer 0. Now you can create any form of transparency with the tools you want.
But when it comes to logos, Photoshop is the wrong choice. You should do logos in Illustrator, not in Photoshop.
-
Basically, I want to start fresh. I know very little. My physical memory is operated by and I don't know how to disable anything. Windows are late so badly his laptop computer lock-down permanently. Could someone help me please?
It is a model of #MA3 bridge
United States?
http://us-store.gateway.com/RCD/default.aspx -
downloaded the video have no sound. Can someone help me please
the video uploaded from my phone have no sound
Hello
1. what operating system you are using on the computer?
2 is that the problem is specific to this particular video or videos?
3. you receive an error code / message when you play the video?
4. When you have downloaded the videos?
5. what program you are using to view the videos?
6. do you have the sounds on the computer?
Additional information on the question for you help the better. See the article below.
Suggestions for a question on the help forums
http://support.Microsoft.com/kb/555375 -
I need help for my torrented game to work, I have all the parts just need someone to talk with me and guide me through it.
I know Torrenting is really illegal?, use DAEMON Tools lite, it's the thing that I use or MagicISO Virtual CD/DVD Manager
-
Software problems and apps are not downloading.can someone help me please
wwhen I opened the software update, it's evidence that an error occurred when checking for the software update.
APps are not download from the App Store. Please help me solve this problem.
Can someone help me sort the Please this problem.
-
TravelMate 5542-3590 can someone help me?
I can't seem to go wireless for some reason any. Never had a problem before. Can someone help me please?
Thank you
Marsha
Hello...
-
Hello
Problem: when I put my computer to sleep, wake up, there is a noticeable delay in performance. Internet is slow to reconnect, and GUI is unresponsive. This occurs for about 10-15 seconds, and then things come back to life.
What I tried:
I opened the console, and I copied the report. I found a few warnings, which I post some (in failure).
core of the host [0]: CoreStorageGroup::completeIORequest - 0xe00002ca error detected for LVG 'Macintosh HD' (4F6A789B-E1E1-458F-908A-844CDFA246CB), pv 31458C 06-C725-4647-A817-A8C8461D59A2, near LV byte offset = 242813976576.
LHOST kernel [0]: disk1: i/o error.
LHOST kernel [0]: sandbox: launchd (1) political system: deny (1) - flags-writing files/private/var/run/dyld_shared_cache_x86_64
LHOST kernel [0]: sandbox: launchd (1) political system: deny (1) file-writing-break the/private/var/run/dyld_shared_cache_x86_64 link
LHOST com.apple.xpc.launchd [1] (com.apple.backupd.status.xpc): HideUntilCheckIn of the property is a problem of architectural performance. Please transition away from him.
LHOST com.apple.xpc.launchd [1] (com.apple.cmio.AVCAssistant): ThrottleInterval zero value. You are not so important. Ignorant.
com Apple.XPC.launchd [1] (com.apple.trustd.agent): ServiceIPC the key is no longer respected. Please delete.
LHOST com.apple.xpc.launchd [1] (com.apple.bsd.dirhelper): the TimeOut key is no longer respected. He never did anything anyway.
com Apple.XPC.launchd [1] (com.apple.ZoomWindow.running): HideUntilCheckIn of the property is a problem of architectural performance. Please transition away from him.
WindowServer [175]: found 13 display modes 0 x 00000000 [13: 0]
Also, I restarted in safe mode. The problem persists in the newspaper.
I created a copy of the computer to restart open log normal startup mode and secure boot mode. Then, I created three files containing - text save messages only in regular boot mode, log in startup mode messages safe and save messages in BOTH.
Save Messages that appear only in the regular boot
https://www.dropbox.com/s/up6nkk95768xcrb/onlyinnotnsafe.txt?DL=0
Save Messages that appear only in the secure boot
https://www.dropbox.com/s/80w2od220asx7e9/onlyinsafe.txt?DL=0
Save Messages that appear in trunk too of COURSE and regular
https://www.dropbox.com/s/zoifq5r4inihjaz/overlap.txt?DL=0
Can someone help me? Should I think about buying a new HD?
Also noticed - when I have headphones or whatever it is connected to the phone jacks, iTunes spontaneously opens. In addition, in the log messages
Thank you!!
Run disk utility. It is located in/Applications/Utiliites
With open disk utility select the disk to boot on the left then click the first aid tab, then click: run
-
I have problem with my iphone 5 has no 4g 3g only. in Sweden in the works of 4g Malmö... can someone help me please...
Where did you buy this phone? 4G has already worked on this phone? Whatever the carrier said when contacting you? Have what troubleshooting you tried?
-
I have an Adobe Creative account and my payments come out every month; However, I am unable to connect with my new account or access programs I have installed; It only let's login me under my old account. Can someone help me solve this problem?
Hello
I see that you have an adobe account with the same email with forums, however, I don't see no subscription under this account.
If you can't change the email during indexing, see the steps below:
The OOBE and rename it OOBE.old and then try to connect with the correct ID:
Location: -.
Windows C: \ directory users\ user account-App data-local-adobe \oobe
MAC: Go / go to the folder / Application support / Adobe / oobe
If nothing helps, please contact adobe support:
-
I have a problem I bought the collection master in 2012 for Mac just got a new computer with Windows 10 and I do not know how to download and install master collection on my new computer, can someone help me?
Available downloadable Setup files:
- Suites and programs: CC 2015 | CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | Suite X | 9,8 | 9 standard | 8 standard
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Cold Fusion: 11: 10 | 9.0.2 version 9.0.0, 9.0.1, 8.0.1, 8.0.0, 7.0, 6.1, 6.0, 5.0, 4.0
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
- Lightroom: 6| 5.7.1| 5 | 4 | 3
- Photoshop Elements: 14,13,12,11,10 | 9,8,7 win | 8 mac | 7 mac
- Premiere Elements: 14,13,12,11,10| 9, 8, 7 win | 8 mac | 7 mac
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
I have a problem with my shrink to a smaller size text, when I create a link. Can someone help me understand how to solve this problem? Here is the URL of the page where it happens. Spring Art tour
Tamlyn
Line 22 of your main document
do-size: 14px;
change that to
font size: 1 rem;
-
Can someone help me with sql for this problem?
I need to get data from last year from Date of January 1, 2012, the current date, that is June 27, 2013... Upper limit I have such as SYSDATE. Can someone help me how to get the start date of the last year?
Similarly, it can be like that!
SQL > select
TO_CHAR (add_months (trunc (sysdate, 'YYYY'),-12), 'DD-MON-YYYY') 2 start_dt
3 double;START_DT
-----------
JANUARY 1, 2012 -
I have a problem in my wifi, can someone help... ?
Recently, I bought the Sony double Z3, then, I noticed a problem in my wifi signal, there is no internet on my phone when my wifi becomes 1 or 2 signal... Please can someone help me?
@Amjad1 No Yes it is normal, 1 double i've got Soother and on the 2nd a kitkat (better sound quality), they both difficult to capture and to 2 bars of wifi theres no internet, also on this forum someone write about it.
@uliwooly I test with asus, d-link, tp-link, all the results were the same.
-
I need to uninstall the iTunes 12.2.0.145 in Windows 7-32 bit, but I don't have the installation of this version files. Can someone help me, please?
The problem lies in a PC with Windows 7 32 bit
For general advice, see troubleshooting problems with iTunes for Windows updates.
The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach. Review other cases and a list of documents to support further down the page, in which case one of them applies.
More information area has direct links with the current and recent if you have problems to download, need to revert to a previous version or try the version iTunes for Windows (64-bit-for old video cards) as a workaround for the problems of performance or compatibility with third-party software.
Your library must be affected by these measures, but it is also related to backup and recovery advice if necessary.
TT2
Maybe you are looking for
-
I had clicked on something when I change my font size suddenly the screen went White has a few small icons on it like check marks. I screen, but that you are unable to download on this page
-
I tried to log into my account via Apple TV. Once I entered my (correct) id, the screen goes briefly to the General Page, and then goes directly back to the login page. There is nothing wrong with my wi - fi, as I can connect to other devices. Can so
-
Video card is not supported.
This is the error code I get when trying to play Call of Duty 4: "video card or driver is not accelerate transform and lighting."Video card or driver doesn't support UBYTE4N vertex data. "This happened as soon as I had finished installing the game. I
-
After the use of commercial software, Netflix does not work in Windows Media Center.
original title: a SOFTWARE UTILITY NOW NETFLIX in WMC ON VISTA PREMIUM 64 BIT DON'T WORK. ANY CONNECTION? WINDOWS MEDIA CENTER DOES NOT NETFLIX. INTERNET CONNECTION WORKS AND I AM A MEMBER AND WAS SIGNED IN. NETFLIX CHARGE UP AND I GET TO PICK THE MO
-
What is AutoWinFlash in the lower left corner of windows Vista?
I can not remove or open the bottom left box of VISTA. It is in the quick launch area. What he does?