Representing data of several lines into one line
Hi allPlease check the query below:
select manager_id mg_id, employee_id emp_id, last_name name from employees
where manager_id = '100'
and DEPARTMENT_ID = '80'
If I run the following query, o/p then comes wise line; as below: mg_id emp_id name
100 145 Russell
100 146 Partners
100 147 Errazuriz
100 148 Cambrault
100 149 Zlotkey
But if I want the o/p as below; That is to say; under Manager # 100, all employees emp_id and name should come in ONE row NOT in several lines:mg_id emp_id name emp_id name emp_id name emp_id name emp_id name
100 145 Russell 146 Partners 147 Errazuriz 148 Cambrault 149 Zlotkey
pls help me sort the above desired o/p.kindly tell me if there are guidelines of accounting (except 'Plain Text help' on the right side) in this forum. I tried a lot of post above 2 o/p in easy to read format, but could not do so.
Published by: Francis Sep 20, 2009 04:28
Published by: Francis Sep 20, 2009 04:29
Tags: Database
Similar Questions
-
Y at - it a safe application for concatenating several files into one .rtf?
Y at - it a safe application for concatenating several files into one .rtf?
Why do you do this?
Is it arril (3D image files) or .rtf (Rich Text Format) files?
-
Combining the NACHA several files into one
Gurus, we will implement the new file format NACHA for our payroll service. Payroll running a DOS command to concatenate several files into one .mf. Is there a way to Oracle to achieve the same?
Database server
----------------------------------------
RDBMS: 11.2.0.3.0
Oracle Applications: 11.5.10.2
Thanks, Naveen Gagadam.
Published by: mascot of Oracle on May 30, 2013 10:26Vignesh Hi, I just went through our Installer and there are Consolidation defined for each payroll that we use. I think it is better the purpose of having a consolidation set. Could you tell me how to consolidate several salary mass as a whole or alternatively can add several wage masses on the fly (as parameters) for each race NACHA?
Thanks, Naveen.
-
ETL - split manually entered data on several lines
Hi people. The question of an experienced Oracle semi programmer...
I'm looking for some advice on an elegant solution and/or good performance for a lot of food data our database Oracle (10 g R2).
The source data are entered manually and contains invalid entries. More important, a good percentage of the data contains several purchase order numbers into one field in the source, for example ("123456789, 987654000, 987654003, 987654006, 4008-4010').
In the destination table, I want each of these purchase orders to be its own record.
Any thoughts on a good approach to this? I read a few articles on Asktom.com on the 'pipeline functions', but since it is done on the back-end (client only comes into play until after I confirmed the results), I didn't know if I could derive all the benefits of lines own 'pipes' to a single DML vs coating DML statement in my PL/SQL.
The database "at a distance" from the source is also Oracle 10 g 2, if that matters.
I recently discovered how elegantly I could go the other way - compilation of the string fields to multiple records in a single string concatenated to the destination folder using analytical functions. Could take a PL/SQL process that ran for almost half an hour up to seconds in a single SQL statement. = D
Hoping maybe one of the experts can point me in the right direction here. Thanks in advance for any advice you can offer.with t1 as ( select '100000,100,103,105-109' str from dual union all select '200000,200,203,205-209' str from dual ), t2 as ( select str, regexp_substr(str,'[^,]+') first_element, column_value element_number, regexp_substr(str,'[^,]+',1,column_value) element from t1, table(cast(multiset(select level from dual connect by level <= length(regexp_replace(str || ',','[^,]'))) as sys.odciNumberList)) ), t3 as ( select str, first_element, element_number, element, regexp_substr(element || '-' || element,'[^-]+') start_sub_element, regexp_substr(element || '-' || element,'[^-]+',1,2) end_sub_element from t2 ) select str, case element_number when 1 then to_number(first_element) else to_number(first_element) + to_number(start_sub_element) + column_value - 1 end val from t3, table(cast(multiset(select level from dual connect by level <= end_sub_element - start_sub_element + 1) as sys.odciNumberList)) / STR VAL ---------------------- ---------- 100000,100,103,105-109 100000 100000,100,103,105-109 100100 100000,100,103,105-109 100103 100000,100,103,105-109 100105 100000,100,103,105-109 100106 100000,100,103,105-109 100107 100000,100,103,105-109 100108 100000,100,103,105-109 100109 200000,200,203,205-209 200000 200000,200,203,205-209 200200 200000,200,203,205-209 200203 STR VAL ---------------------- ---------- 200000,200,203,205-209 200205 200000,200,203,205-209 200206 200000,200,203,205-209 200207 200000,200,203,205-209 200208 200000,200,203,205-209 200209 16 rows selected. SQL>
SY.
-
How to scan several documents into one PDF
How to scan several documents into single PDF - have no ADF
Thanks - great app
-
Hyperion Financial Reporting: Recover data from several lines of another grid
Hey geniuses,.
Don't know if this is the right place to ask questions on HFR...
I have two grids: welcome and support. I tried to recover data supporting the grid, where there are 10 children report derived from a line of HFR lines. I intended to show all children of 10 lines in the report. I tried ".row grid [X] [X]" to recover data and < < MemberName > > to retrieve the name of the project, but only one line is presented in the main with the first name of line project (grid support) and report data sum of the total 10 rows (grid support).
All good ideas?
Thanks to a bouquet.Instead of the formula line insert a line of text and add the function
>
>
>
.....................................................The problem should be solved
Concerning
Celvin
http://www.orahyplabs.com
-
Data merge several people on one page
I create a file of data merge to create a travelogue of emergency contacts. The previous file was done in Publisher (YUCK) and needs to be rethought. I'm trying to set up the file properly in InDesign to perform a data merge in which there are 3 contacts per page (one primary, secondary and substitute for each county in New York). See below
Currently, I can't figure out how to get multiple contacts on a single page. The way it is set up now, I can get information for a person to appear on each Board.
Any ideas on how to help?
You have the same problem with which I tried to help in this thread: repeat pages
As you've found data merge InDesign really only merges a record of several sets of fields... OR (what you want)... multiple records to a set of fields.
So what you need is just a set of fields; one. Follow these steps:
And delete everything except the first page.
- Now, with emphasis on the page of the document (and not his mistress), choose Create a merged Document in the data merge Panel menu.
- Tab records the dialog box create a merged Document, choose multiple records in the accounts rendered by menu Page of the document.
- Check the box saw several shot record.
- Switch to Multiple record layout tab and set the controls to set folders as desired (3 per page) while previewing in real-time.
-
Morphing several objects into one.
I can't morphing 4 photos in one. No idea how because I do not know where to start as I am a newbie to the animation graphics and eager to learn.
I set up entirely in illustrator and use this technique I wrote a tutorial for a bunch of years:
http://library.CreativeCOW.NET/articles/gerard_rick/morph.php
Simply configure you your different shapes in Illustrator, using the blending mode to create up to 256 intermediate forms between the two, develop, release them in layers and then import them into a comp in AE and sequencing layers.
-
OfficeJet J6480 scan several Documents into one file
Hello
I have an Officejet J6480 on a Mac. I want to scan several documents and saved it as a PDF file. I don't know how to do this.
Put the original in the high plateau of the loader page in the printer. Open Device Manager from the Dock on your Mac HP and double click on Scan to PDF (or could say scan Document).
-
HP 3511 scan several documents into one file
How to scan several documents in the same file to my HP3511? I am running Windows 7.
This printer does not have an automatic feeding for print/copy/scan. Is it possible to do without it?
Thank you. I always do the printer instead of the computer, so that it is useful! Unfortunately, it works to scan; However, it would still not save them all as a single file. I went back and checked the advanced settings, and is not checked to create a separate file. He has created a file for all 5 pages. He was using the file name I gave him and then added extensions 0001, 0002, 0003, 0004 and 0005.
Ugh. I'll try again.
-
The rendering of several clips into one video file?
Hello
I'm completely new Premiere Pro. I decided to make my first video.
Here's what I did. I added my clip to the timeline, then I used the razor tool twice in order to slice clip in 3 small clips. Then I applied basic effects to a small clip in the middle.
So I decided to make the entire images. I put 'In' at the beginning of the first clip and placed 'Out' at the end of the last clip.
After I clicked on "make Sequence - in at Out ' I see that Premiere Pro product 4 videos: three videos of each of those that contains appropriate slice of the original clip and the 4th video seems to contain only 1 image of the original clip:
Here are all the files created during the rendering process:
So, instead of making 4 videos I need first to render the images together in a single clip. Please could you tell me how I can do?
I also tried to select all 3 clips and then made selection, but unfortunately I got the same result as above.
Thank you!
Thank you guys!
Yes, later that day I already understood how do. Nowdays Youtube is a source of all knowledge. I just look for "how this ' and ' how '. Previously, I used Sony Movie Studio 12, but after reinstalling OS on my PC, I decided to try Premiere Pro.
BTW, here is my first video. I spent probably 5 to 6 hours yesterday learning first LOL just to make this clip!
-
View the information from the related table instead of the ID in several line datablock
Hello
I searched on the web, the forum and the documentation, but I have not found a solution to this problem:
I have two tabs with a relationship of the master / detail of one-to-many. Block detail data shows several lines such that it can be several associations table of mater in the details and I want to display the description of the master data block instead of the field with the ID for each line in the block of retail.
I tried to place an item with the option 'copy value', but then I lose the relationship of master / detail, because that is what forms wih the field id for linking blocks.
Also, I've seen in other posts that I can use a view, but I can't understand how would I update or remove data then.
The only thing that I realized is to the description field in its own datablock in the same tab, a relationship master / detail-detail (or master-detail-master). BTW, I don't think it's beautiful "formulas"programming"and it does too much for my needs."
I guess it must be a trivial thing, but I don't know what to try next. Thanks in advance!
Published by: user10278211 on Sep 17, 2008 20:13AAH, I think now I got your management!
You have 1 Deptno and dname "XYZ" in the master and you want to display:
EmpNo Ename DName 1 User1 XYZ 2 User2 XYZ
-What?
If so:
1 create a new element in the retail block, let's call it DSP_DNAME, set database property to point to 'no '.
2. create a POST-QUERY-Trigger on detail-block with the code: DETAILBLOCKNAME. DSP_DNAME: =: MASTERBLOCKNAME. DNAME;
3. create WHEN-CREATE-RECORD-Trigger with the same code.That's all
-
How can I connect three different files into one? Thank you.
I need to download copies, but I need to combine into one file
Hello
Here is the link for the steps on how to merge several PDF' into one.
As shown above, you would need Acrobat for that.
Concerning
Sukrit diallo
-
> Now I'm unlable to select more number of lines that are not a sequence in a single page to copy the data rows and paste somewhere in one fell swoop.
> Is this concept implemented in Windows 7. ?
> Is there a provision (method) to select several lines that are not continuous across the keyboard or the mouse in windows 7?Byagaris,
It depends on what program you are trying to copy and paste into. You are able to select continuous, multiple lines, by using the Ctrl Key and clicking, or by highlighting the desired line. For example, I held the Ctrl key and then, using the mouse, has highlighted several different phrases in the various paragraphs, and could then copy them. This feature is available for several versions of windows.
If you are not able to perform this action then post what happens when you try and what program you try it.
Mike - Engineer Support Microsoft Answers
Visit our Microsoft answers feedback Forum and let us know what you think. -
grouping of several lines into one line
Totally, I need help with this easy... Basically, I have several lines for a unique userid that I need to be grouped into a single line.
Here's what I have before:
USER ID MONTH1_SEVERITY MONTH2_SEVERITY MONTH3_SEVERITY
MODERATE 1900055
1900055 <... it'sa just space... > MODERATE
1900055 <... it'sa just space... > MODERATE
What I wish to see:
USER_ID MONTH1_SEVERITY MONTH2_SEVERITY MONTH3_SEVERITY
MODERATE MODERATE MODERATE 1900055
Thanks in advance.Rotate the data
Select user_id,
Max (month_1_severity),
Max (month_2_severity),
Max (month_3_severity)
from table_name
Group of user_id
Maybe you are looking for
-
Username/password Gmail is not accepted by thunderbird (64 characters)
The password and username have been copied - and tested with mail.google.com and his work in there...Maybe it's thunderbird only allows a specific max length or does not allow for specific characters?The password looks like this:.9LubOCdl+q7Wp.70i9;:
-
18.0 Firefox works fine when I open it on a 32-bit desktop. I can open any Web site (I use one tab). But when I closed Firefox, I get the message "Firefox has crashed." It charges ok, but I've never had this problem with any version of Firefox before
-
Ox80070002 and Ox8007000D error messages - I can't always solve the
Hello It seems that my PC was unable to make an update of windows properly for a month now, and after having searched today, of Ox80070002 and Ox8007000D error messages come with updates. I followed the advice of Microsoft online, but he is still un
-
Update works but not SMC?
I am owner of a Sansa Fuze updated with the last firmware.256 I'm running a Windows XP Service Pack 2 machine - I try to get the Sansa Media Converter tool work. So far I have tried the following: (1) installed SMC and ensured that I plugged the came
-
Few days back ants were inside my laptop, after that they all came out, it will be harmful on my laptop? I don't think that ants still inside? the ants are really harmful for laptop inside parts? Pls answer