The Heap™ – Consultancy ©®

General on- and off-site discussion for dba.stackexchange.com....
Sly
Mar 22, 2019 16:49
@Lamak No, every row is not the same
Sly
Mar 22, 2019 16:48
Bsically the requirement is to check for cases where an applicant applied for a job and was matched to same job he had applied for, initially, if thats the case then i want it to return a f, if they were matched to a different job name than what they had initially applied for then i need it to return a false
Sly
Mar 22, 2019 16:44
@Lamak what do i need to do to check if the row values are the same?
Sly
Mar 22, 2019 16:41
want is trying to cmpare is the column values (row values within a column)
Sly
Mar 22, 2019 16:40
problem is its not working all the time
Sly
Mar 22, 2019 16:39
what i am trying to do is to check if job_name is the same and code is to return CODE ='MATCHED_TO_CASE' to return T otherwise F
Sly
Mar 22, 2019 16:38
CASE WHEN CODE ='MATCHED_TO_CASE' AND JOB_NAME=JOB_NAME THEN 'T' ELSE 'F' END AS TREND
Sly
Mar 22, 2019 16:23
got an oracle case statement i am working on thats not acting right can offer some suggestions?
Sly
Mar 22, 2019 16:22
@George.Palacios there you are
Sly
Mar 22, 2019 16:13
anyone in here?
Sly
Mar 22, 2019 16:13
Hey guys
Sly
Mar 18, 2019 11:50
morning all
Sly
Mar 13, 2019 18:42
@TomV Thanks
Sly
Mar 13, 2019 16:30
ok
Sly
Mar 13, 2019 16:29
sorry let me fix that
Sly
Mar 13, 2019 16:28
@JackDouglas trying the insert now one at a time
Sly
Mar 13, 2019 16:27
@JackDouglas, yes thats the correct table names
Sly
Mar 13, 2019 16:20
@JackDouglas, are you still around on took a break?
Sly
Mar 13, 2019 16:17
@JackDouglas, data comes from the two tables, there is an third table that contains a a matched flag, basically it will say indicate whether someone was matched from another job. I had not used that table since i figured out if i built the right logic then i can get my results with that table
Sly
Mar 13, 2019 16:15
thats the second table
Sly
Mar 13, 2019 16:15
@JackDouglas dbfiddle.uk/…
Sly
Mar 13, 2019 16:03
go it
Sly
Mar 13, 2019 16:00
@JackDouglas let me create the rest of the tables quick. thanks for your kindness
Sly
Mar 13, 2019 15:59
@JackDouglas, thats what i attempted but it didnt work,
Sly
Mar 13, 2019 15:58
great, let me create the rest of the tables quick
 
Sly
Mar 18, 2019 14:51
ok
Sly
Mar 18, 2019 14:40
Oh ok, i dont understand that part as in what he's saying
Sly
Mar 18, 2019 14:16
@JackDouglas i understand some of the comments, i have been playing around around with CTE but havent got it to work
Sly
Mar 18, 2019 13:03
@JackDouglas are you waiting on response from me?
Sly
Mar 18, 2019 12:48
I know what the results should look like but i cant reproduce them with a query.
Sly
Mar 18, 2019 12:48
@JackDouglas, I dont now how i could show that in a query otherwise i would have solved the issue thats why i was trying Match_recognize
Sly
Mar 18, 2019 12:44
Thats closer but essentially where some has two job family names, those rows should be blank
Sly
Mar 18, 2019 12:41
@JackDouglas What i wanted is that if an employee applies to same job name more than once then i dont cant that as an application however if they applied to two disticnt job names then i will count that as an application
Sly
Mar 18, 2019 12:30
@JackDouglas any questions?
Sly
Mar 18, 2019 12:27
Sly
Mar 18, 2019 12:17
@JackDouglas, let me change it
Sly
Mar 18, 2019 12:16
@JackDouglas , are you saying you are not seeing the tables?
Sly
Mar 18, 2019 12:15
oh ok. Got it. Just realized you closed
Sly
Mar 18, 2019 11:13
thats the fiddle for the tables
Sly
Mar 18, 2019 11:13
Sly
Mar 18, 2019 11:00
no problem, thanks
Sly
Mar 18, 2019 10:21
@JackDouglas Hope you had a good weekend, i was off for on thursday and friday back in today. still working on that issue, do you have time to check it out if i completed the rest of the table fiddle?
Sly
Mar 13, 2019 18:00
I haven't stopped, was just wanting to know if your'e still around
Sly
Mar 13, 2019 17:59
I am still working on the fiddle
Sly
Mar 13, 2019 17:36
Are you available now?
Sly
Mar 13, 2019 17:36
@JackDouglas I am back
Sly
Mar 13, 2019 16:38
@JackDouglas, i have made the changes only that its not running so thats what i will be coming to work on after my meeting then send you the fiddle link
Sly
Mar 13, 2019 16:37
@JackDouglas, i have a about 45 minutes meeting, how long are you going to be on here?
Sly
Mar 13, 2019 16:36
@JackDouglas sorry meant got it
Sly
Mar 13, 2019 16:34
@JackDouglas it