transfer data from a table to a new table

Hello all;

I have a table called infosight and I would like to create a new table called wall. I have in my infosight table, the columns and the following data
bookid      place          author            price
123          NewYork     James           $320.20
124          London       John             $356.56
125          Tokyo        Hui                $456.0
Now I want to insert only the following fields, * ID *, * place *, * price * in the new table called workzone until bookid value does not already exist in the wall table. Thank you. I would be grateful for all the help I can get. Thank you.

Try PLS,

insert into workzone (bookid,  place ,   price)
select bookid,  place ,   price from infosight where bookid not in
(select book_id from workzone) 

or some other way,

Insert into the wall (bookid, place, price)
values
Select bookid, place, price of infosight where ID in
(select bookid infosight less
Select wall book_id)

Published by: sree on July 25, 2010 06:59

Tags: Database

Similar Questions

  • How to transfer data from my computer to a new phone

    How to transfer data from my computer/Itunes to a new device? I downloaded all my data from an Iphone 4 on my computer and I wonder how to transfer all of these data to an Iphone 5 that I own. I need to my emails and text messages transfer too. Any ideas? Email that I have Setup with my phone is an email from work, so it is important that I do not lose one of them.

    You must put all your media files in iTunes. Synchronize your phone using iTunes.

    iTunes - Apple Support

    iPhone - Apple Support

  • Transfer data from old mac but keep news

    Hello

    I want to transfer all of an old iMac that is running Yosemite, on a new 15 "MacBook Pro bought recently.

    iI'm worried that if I did not, I lose old software which I always use (old version inuding if numbers), but if I migrate entirely worried that I'll lose the latest version of osx, new numbers, etc..

    Sorry if this sounds vague. Any help much appreciated.

    You will not lose anything from computers unless a problem arises. Backup your data first.

    (139627)

  • transfer data from your old computer to new computer. Palm Desktop app where led apps?

    Help, please

    I backed up my old files from my Palm programs out of my old computer database

    (The hard disk and the computer went wrong, and then he died.)

    Question: which directories and where do I copy the old data, so that I can hotsync?

    I hotsynced once, but I do not see programs in Hotsynce led screen, where

    you select handheld to crush desktop or synchronize files.

    Question: In the screen sheath, which directory it seeks for programs?

    I have a Sony Clie PEG-SJ22 Palm Desktop v4.1, Mgr Hotsync 4.1.0.

    I spent 4 days on re - install the palm software, to solve the problem of usb hotsync.

    I'm finally able to hotsync, thanks to previous assignments and hours of re - install different versions

    the palm software.

    Any help on the issues, would be appreciated.

    Thank you.

    Your data directory will usually be c > program files > palm > [user folder, usually an abbreviated version of your hotsyncid]

    Are they missing conduits for third-party applications?  If so you will need to track down and reinstall them... most applications that have a duct must run a desktop installation routine to install the duct.

  • How to transfer data from a mac mini in 2006 for a new?

    How to transfer data from a mac mini in 2006 for a new?

    The following can help:

    Move your content to a new Mac - Apple Support

    OS X: manually the Data Migration from another Mac - Apple Support

  • Transfer data from old iMac (2008) to the new (end of 2015)

    I was not able to find a convenient way to transfer data from my old mac (iMac 21 of 2008) to the new. (iMac 27 5K 4.0 El Cap) One thing... I have no ports firewire on the new iMac... then I have no crush on the old... What I've read says that you must use one or the other and both ends must be the same. If anyone knows where I can find "usable" information please let me know. Thanks in advance

    Use a Thunderbolt adapter, FireWire or back up your system to an external drive and migrate to it.

    (142867)

  • XML schema to generate data from the table of data from a repeating subform

    Hi all, I would like to have a check box that when checked, allows you to hide a quote form and make a purchase order form visible, carrying a part of the field of the form of citation data in a new table on the order form. I have attached to this form to https://workspaces.acrobat.com/?d=pqpsXx5VPi * LkMeVKrX57w if you want to take a look. If the check box is cleared, he hid the PO form and to make quite visible.

    The idea behind this is that my client will create his quote and send t to his client. Once the customer accepts the quote, he simply click a button to generate its purchase order send it to its supplier.

    It seems that I have buttons to add lines on the submission form that the problem is more complex. I would be able to do it myself if the table has a fixed number of lines and I was able to use global fields, and naming each cell something different, but because it's a single repeating subform, I can't operate at all.

    I understand that, because it's a repeating subform that I need to create an XML schema to do this, but also can not know for the life of me how to create the schema. I read tons of tutorials, but no idea how to apply it to my specific needs. I've been able to find only info on how to bind the data source once it's been created.

    I would be eternally grateful if someone could help out me.

    Thank you!

    I edited your form and put it here.

    Here's what I did:

    • Script inserted into your box renamed someone who mask/displays the purchase order / sales quotation
    • I have included a script object with a function I wrote to transfer data from as named fields/subforms from one section to another
    • Inserted a few fields in your table of purchase order

    What you need to do is to complete the development of your purchase order table. Make sure that the common fields between the quote and purchase tables have the same name in order to transfer data.

    No necessary schema.

    Kyle

  • How to transfer data from the samsung galaxy s2 to the iPhone 5 s

    My friend want to transfer data from Samsung Galaxy S2 for its new iPhone 5 s. How can do us? Is it possible through my Macbook Pro Yosemite 10.10.5? Please notify.

    I tried to install Mov to iOS app in Samasung Galaxy2 but he says that the phone is not compatible

    https://www.Wondershare.com/transfer/Samsung-to-iPhone.html

  • Transfer data from Droid Maxx Droid Turbo

    Hello

    My new Droid Turbo arrives Monday. How can I transfer all of my Droid Maxx above my new Droid Turbo? Is there a simple way to do this? Thank you all!

    To migrate from Motorola app should be able to help with that. It is designed to transfer data from one phone to the other. It seems simple enough to set up & use.

  • Transfer data from DoPreUUT to the main sequence

    Hi all, I am working on editing a sequential model existing in NI TestStand.

    In PreUUT do that I just wanted to have mu, own VI Custom which will require a path and once the path is selected, the VI will extract 2D Array of string values that I have to move my hand Sequence.I am facing a question of transfer data from table 2D-doPreUUT to mu from the main sequence.

    http://forums.NI.com/T5/NI-TestStand/pass-parameters-from-PreUUT-to-main-SEQ/m-p/2850684#

    who says the best way is to use the globals file, but I'm not able to get my values transferred to my main sequence.

    Need help to solve...

    Thanks in advance

    If you are adding a FileGlobal to Test DUT and expecting to access this variable in your file of the client's sequence, you will not be able to read the FileGlobal directly. You will need to use the "RunState.Root.FileGlobals" string... »

    for example if you have an array of strings FileGlobals.MyDataPaths you MainSequence, you can access using RunState.Root.FileGlobals.MyDataPaths of MyDataPaths.

    Remember that this will only be available when you use the process model, therefore, it would be wise to test that you run with the process template.

    Hope this helps

  • Want to transfer data from Win 7 to 8 Win, but can't find easy transfer tool.

    Original title: New portable 8 victory; need to transfer data from the old win 7 laptop, but can not find the easy transfer program on win 8 I can find accessories, since the new win 8 - pls help!

    I do not understand how to find programs on windows 8 on my new laptop and I need to transfer my data from old laptop win 7, but I can't find the "Accessories", nor Easy Transfer program to transfer data from my old win 7 laptop to new laptop 8 victory.  I can't understand how to navigate windows 8 to find these things - please help - need to send the old phone back as soon as possible. Thx for any instruction to help me. Judy

    Hi Judy,.

    I suggest you to consult the following link which has detailed instructions to access the easy transfer of Windows 8 tool and how to use it in Windows 8. You can go through the link and check if it helps you to copy the data from your Windows 7 operating system.

    Transfer files and settings from another PC

    http://Windows.Microsoft.com/en-in/Windows-8/transfer-files-settings-another-PC

    Hope that the information provided is useful. If you have any other questions, answer here and we will be happy to help you.

  • Inserting data from one table to another table

    Hello

    I have the following SQL where I am updating a table by adding new data from another table, but without success.

    INSERT INTO
    () TOP_PROSPECTS
    COMMON_ID
    DATE_ADDED
    REVIEW_RANK
    EVAL_DATE
    PM_ASSIGN
    WHY_NOTES)
    SELECT
    t.COMMON_ID
    t.DATE_ADDED
    t.REVIEW_RANK
    t.EVAL_DATE
    t.PM_ASSIGN
    t.WHY_NOTES
    Of
    TEMP_IVAN_MARY t
    WHERE
    COMMON_ID <>t.COMMON_ID

    Any suggestions?

    Thank you.

    Published by: user13822709 on August 14, 2012 09:14

    Published by: user13822709 on August 14, 2012 09:15

    Is that what you're trying to do with the insert. I think there may be a sign {noformat}<{noformat}{noformat}>{noformat} missing in the where clause. This site eat those, so you need to use the equivalent! = post here.

    If I'm wrong about the missing trader, then it looks like you want to insert rows in temp_ivan_mary that are not already in top_prospects. If Yes, then you need something like:

    insert into top_prospects
       (common_id, date_added, review_rank, eval_date, pm_assign,
        why_notes)
    select t.common_id, t.date_added, t.review_rank, t.eval_date,
           t.pm_assign, t.why_notes
    from temp_ivan_mary t
    where t.common_id not in (select common_id from top_prospects
                              where common_id is not null)
    

    Function index and data available volumnes etc. then a mergr can be more effective. Something like:

    merge into top_prospects p
       using (select common_id, date_added, review_rank, eval_date,
                     pm_assign, why_notes
              from temp_ivan_mary) t
       on (p.common_id = t.common_id)
       when not matched then
          insert (common_id, date_added, review_rank, eval_date, pm_assign,
                  why_notes)
          values (t.common_id, t.date_added, t.review_rank, t.eval_date,
                  t.pm_assign, t.why_notes)
    from temp_ivan_mary t
    

    John

  • How to transfer data from laptop to external hard drive?

    How to transfer data from laptop to external hard drive?

    my model is vgn-cr323.

    Thanks in advance

    Let me provide you with General information on how you can transfer data from your computer to an external drive.

    To transfer the data, plug the USB cable into the correct port. Usually, your computer will know that he has a new disc attached and a pop box up will warn you. It will scan to determine what to do with the new connection and your computer will assign a drive letter (for example, drive G: and so on.) This will allow you to transfer data to the external hard drive just like you would move files on your internal hard drive.

    Once you have the USB cable plugged into your computers port (and the other end plugs into the external drive) you can now start to save files you want on the external hard drive.

    Open the item (s) or folder (s) you want to transfer or save on your external hard drive. There are two ways to save external hard disk 1). If you have only one or two things to save, you can open each item, click on file / record under... and choose the letter/drive (for example, drive G corresponding to that of your external hard drive, click Save.) This he recorded on the external hard drive.

    For more information on your model Asia Pacific computer we recommend contacting Sony's Support Center in your area at http://www.sony-asia.com/section/support.

    If my post answered your question, please mark it as "accept as a Solution.

  • Migration of data from a table to another table

    have a table1 that includes the existing data in the format.

    ~@!%~X1~@!%~Y1 in three different coulmns

    creates a new empty table and the need to migrate the data above, which is present in 3 different columns in a column in the new table, as shown in the example below.

    table 1 existing data (| separator of columns for formatting)
    ------------------------------------------------------------------------------------------------------------------------------------
    ID name1 | Name2. Name3
    123 ~@!%~X1~@!%~Y1 | ~@!%~X2~@!%~Y2 | ~@!%~X3~@!%~Y3
    234 ~@!%~X4~@!%~Y4 | ~@!%~X5~@!%~Y5 | ~@!%~X6~@!%~Y6
    456 ~@!%~X7~@!%~Y7 | ~@!%~X8~@!%~Y8 |     ~@!%~X9~@!%~Y9


    Table 2, which will initially be empty and after migration, it should look as follows.

    ID name1
    ----------------------------------------------------------------------------------------------------------------------------
    123 ~@!%~X1~@!%~Y1 & & ~@!%~X2~@!%~Y2 & & ~@!%~X2~@!%~Y2
    234 ~@!%~X4~@!%~Y4 & & ~@!%~X5~@!%~Y5 & & ~@!%~X6~@!%~Y6
    456 ~@!%~X7~@!%~Y7 & & ~@!%~X7~@!%~Y7 & & ~@!%~X7~@!%~Y7

    as shown in the example above

    Name1 column has ~@!%~X1~@!%~Y1
    Column name2 has ~@!%~X2~@!%~Y2
    Name3 column has ~@!%~X3~@!%~Y3

    Once the data is migrating from table 1 for id - 123 looks like below, before joining data from 3 tables, I need apopend & & for each for the token I read of the tabl1 of name1 to end ii should be added "& &" also when I read the name2 I add "& &" at the end of the string before the concatination.

    Here's the sample that deals with data for id - 123 with & & (only & & other symbols are part of the data)

    ~@!%~X1~@!%~Y1 & & ~@!%~X2~@!%~Y2 & & ~@!%~X2~@!%~Y2

    need help in writing a note of migate

    Published by: [email protected] on April 2, 2010 15:42

    Hello

    You are looking for something like this

    CREATE TABLE table_new
    AS
       (SELECT id, name1 || '&&' || name2 || '&&' || name3 name1
        FROM table1);
    

    or if you have the table ready

    INSERT INTO table_new
       (SELECT id, name1 || '&&' || name2 || '&&' || name3 name1
        FROM table1);
    

    Thank you

    Alen

  • Can I use Airdrop to transfer images from my old to my new iphone6 iphone5?

    Can I use Airdrop to transfer images from my old to my new iphone6 iphone5?

    Yes,

    How to use AirDrop with your iPhone, iPad or iPod touch - Apple Support

    Why not just backup the iPhone 5 and the iPhone 6 to restore this backup. In this way, everything is transferred only once.

Maybe you are looking for