Just looking for best way to do... 2 data joined tables

looking for advice this.

using oracle 11 g.

I have data im going to use in a view to update TABLE1 monthly.im going to see all these data via php in a web page.

I would like to add a few modifiable of table2 values who will join table1.

-drop the table1 table:

create table table1)

number of value1,

Number of value2,

number of value3,

Number of VALUE4,

number of Value5

);

INSERT INTO TABLE1 (VALUE1, VALUE2, VALUE3, VALUE4, VALUE5) VALUES (1119,4,54,772,643);

INSERT INTO TABLE1 (VALUE1, VALUE2, VALUE3, VALUE4, VALUE5) VALUES (22,345,55,278,446);

INSERT INTO TABLE1 (VALUE1, VALUE2, VALUE3, VALUE4, VALUE5) VALUES (314,193,75,542,676);

INSERT INTO TABLE1 (VALUE1, VALUE2, VALUE3, VALUE4, VALUE5) VALUES (13,396,59,232,670);

INSERT INTO TABLE1 (VALUE1, VALUE2, VALUE3, VALUE4, VALUE5) VALUES (41,2003,505,232,7096);

-select * from table1

create the table2 table)

VCLE NUMBER,

NUMBER OF VERSION_NUM,

COMMENTAIRES1 VARCHAR2 (50).

comments2 varchar2 (50)

);

-select * from table2

Vcle in table2 is a concatenation of value1, value2, value3 on table1.

So the end result is on the web page of all the values in table 1, unmodifiable, 2 reviews in table2 fields that can be changed. A user can change these fields, then they will save in table2 with the key of concatenation. the reason why I want to do like this, with a second table is because whenever a user changes these fields I want to insert again to occur in this table, not an update, which will add a trigger, I have a new version number. This sounds like a mistake to do it this way?

The strategy of the concatenation is a mistake.

Concatenation requires strings, then you would be conversion 3 numbers to strings to concatenate, then convert it to a number stored in table2.

If I insert = 11-v1, v2 = 11, v3 = 11 then insert v1 = 1, v2 = 11, v3 = 111.  I generates the same Vcle and either corrupt your data or make it impossible to tell what row in table1 = 111111 Vcle should concern.

A substitution used as primary key in table 1 key is a way to fix this design.

Tags: Database

Similar Questions

  • I would just ask the best way to integrate or add the feature of 'belonging' to Adobe Muse site I built for a client? The client wants for their customers to be able to have a log in option to access exclusive offers. Help, please. Thank you

    I would just ask the best way to integrate or to add the feature of "belonging".

    on the Adobe Muse site I built for a client? The client wants for their customers

    to be able to have a newspaper in option to access exclusive offers. Help, please. Thank you.

    Accommodation with Business Catalyst and feature Secure area are probably the easiest. But easier I don't mean easy. There will be a steep learning curve to learn how Business Catalyst works first.

    Unfortunately at this time Muse isn't really the tool to do what you need.

  • Looking for a way to separate my libraries of different music on two separate iPods.

    Hello everyone, I'm looking for a way to separate my distinctly different music on two separate iPods. My PC has 54 GB pop/rock songs and classical music of 23 GB ones, and I want to be available only on his own iPod, an iPod for the classical music and one for non-Classical each kind. Ideally, the playlists would go with appropriate music.

    The PC is W10, iPods are the Classic models.

    What is the best way to achieve this, please?

    Grateful for ideas.

    Kind regards

    Peter

    Your library may already have a classic playlist. (See Restore Original smart playlists , if it is not.) You can expand the playlist rules, or change the properties of the tracks as required such that it contains all your classical music. You can then create a second playlist corresponding to all of the rules:

    • Playlist is music
    • Playlist is not classic

    and give it a name, for example, not classical or Rock & pop.

    Set each relevant device to sync with the playlist.

    TT2

  • Looking for a way to programmatically set the visible front part when opens a Subvi

    I'm looking for a way to programmatically set the visible portion of the front panel, when a Subvi opens.  Did not find all the messages that are related, but I do not know how to ask the right question.  To be clear, I want to write a VI assistance programme through a list of subVIs to ensure that background images are all in the same place when to open their respective subVIs.  I hate to play manually with scroll bars before I save each of the screws...  I'm thinking I need to find the top/left of the background image location (know already do) and then to set a property of the VI FP some offset or these values, but I can't find the corresponding property. FP:run - timeposition:custom looked promising, but only affects the location of the window, and not the area of the front panel displays the window.

    I should have added that the idea of using the background image does NOT change the origin.  Therefore, always be close enough, as your controls and indicators won't move, just the image.

    I personally use the OpenG VI and the open method of front panel, when I am in your situation.

  • I am looking for a way to only sync music files (mp3, flac, ogg, etc) on local network.

    * Original title: synchronize files

    Hey

    I am looking for a way to only sync music files (mp3, flac, ogg, etc) on local network. The Office uses iTunes, while the laptop is using Media Go. Each adds different files in the folder of the artist.  I want to synchronize only the files of songs themselves. Sync Toy, but also collective dwelling, you cannot add a wildcard character. (e.g. *.mp3). If I sync folders, each computer has useless files. I tried other software of synchronization, but once again, after the sync preview I have to deselect all other files.  I'll sit and listen to my answer. Thanks coach

    You could 'roll' so to speak, but write a batch file.  Inside the batch file would essentially be only one command, the copy command set to copy only the *.mp3 example and ignore existing files.  Basically, SyncToy, but with filters.  The command in the command prompt you would use would be XCOPY or ROBOCOPY, which you can type followed /? to see the options (or both are well documented on the Internet).

    Always it seems to me that it would be easier to just an another artist for iTunes folder and taskbar have their own libraries than others it does not.

  • I am looking for the way that my invention

    I am an inventor of VR technology. I know what may be in the future.

    I have a tech for the VR game industry.

    I am looking for the way to realize my ideas. Can you help me?

    VR is the next big thing for the past 15 years. And yet...

  • looking for a way to change the font color in the hotmail to chat Messenger?

    I am running windows internet explore 9 and you are looking for a way to change the color of the font in hotmail to chat Messenger, can anyone help with this. You can email me at * address email is removed from the privacy * where I am away from my computer.

    Hello
    The question you have posted is related to Windows Live and would be better suited to the Discussion Windows Live groups. Please visit the link below to find a community that will provide the support you want.
    Hotmail Portal
  • You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.

    You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.  They will have to copy the files in the folder to make changes and then copy a review of back in.  Locally and on the network

    Hello

    1. In Windows Explorer, right-click the file or folder you want to work with.
    2. In the context menu, select properties and then in the Properties dialog box, click the Security tab.

    3. In the name list box, select the user, contact, computer, or group to which you want to display permissions. If the permissions are grayed out, this means that the permissions are inherited from a parent object.

    https://msdn.Microsoft.com/en-us/library/bb727008.aspx?f=255&MSPPError=-2147217396

  • BlackBerry Smartphones looking for a way to cancel the encryption function

    The pictures I take with my BB 9780 "BOLD" are encypt. I'm looking for a way to cancel the operation of encryption on the new photos. Please notify.

    Try this page...

    https://swdownloads.BlackBerry.com/downloads/contactFormPreload.do?code=A8BAA56554F96369AB93E4F3BB06...

    This is the latest version.

    Tom

  • I'm looking for a way to scan my system with Windows 7 registry entries

    I'm looking for a way to scan my system registry entries. Registry audit tool (Scanreg.exe) to do back in the day, is there something similar in Windows 7?

    * original title - command line - tool of the registry in Windows 7? *

    Hello

    If you think that you are missing something you get a sense that what you're missing. Then, look for the registry.

    There are 3rd party registry cleaners that erasing entries that lead anywhere as far as I KNOW, he didn't y no utility that can guess what program can use the registry and entry is missing.

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • Looking for best software Acrobat Writer/Conversion for Excel 2003.   I have Standard but you want to update.  Anyone have any ideas?

    Looking for best software Acrobat Writer/Conversion for Excel 2003.   I have Standard but you want to update.  Anyone have any ideas?

    Hi Dennis,

    Acrobat CC is not compatible with MS Office 2003 and currently, we only sell Acrobat DC. However, if you opt for a subscription of Acrobat DC you can install and use Acrobat XI that is compatible with Office 2003, but only to a certain update.

    Please check details of compatibility here: web browsers and applications of PDFMaker

    Thank you

    Abhishek

  • I am looking for a way to disable or to prevent someone to print my customer web pages, also to prevent someone from copying a page or site. Y at - it such an option in Adobe Muse?

    I am looking for a way to disable or to prevent someone to print my customer web pages, also to prevent someone from copying a page or site. Y at - it such an option in Adobe Muse?

    Hi Gary,.

    There no such function in the Muse, I don't know if it is possible at all.

    Kind regards

    Akshay

  • I'm looking for a way to blur a face for about 8 seconds of a video of 20 minutes. When I use the mosaic is bluring in the same place throughout the 20-minute video. How can I add to the 8 seconds when the face appears?  Thank you.

    I'm looking for a way to blur a face for about 8 seconds of a video of 20 minutes. When I use the mosaic, it is bluring in the same place throughout the 20-minute video. How can I add to the 8 seconds when the face appears?  Thank you.

    Razor the clip at the beginning of the second part 8 and at the end, and then apply the mosaic effect to the clip.

  • Qosmio X 770 - are looking for best free video player to play with 2D to 3D movie

    I have a Qosmio X 770 with NVidia 3D playback. I'm looking for the best free video player for playback of video clips 2D to 3D.

    Toshiba Video Player works fine, but I can't get it to play files in MP4 - AVC format. Is it possible to add codecs so it will play other formats?

    NVIDIA 3D Vision Player don't play all formats but when in 3D mode, there is no access to the commands. Volume can be set with the function keys and video can be suspended with combinations of keys that do not forget, but you can not fast to the front/back or access the slider to change the video position.

    Both are reasonable solutions, but none is perfect. Is there a better option out there? I tried StereoscopicPlayer but could not operate and it is limited to 5 minutes of play in any case.

    Both are reasonable solutions, but none is perfect.

    Software freeware as a perfect solution?
    I don't think you will get this software just for free...

    How to convert 2D to 3D in 2D to 3D converters movies?
    The KM Player supports also the 2D to 3D feature but does not support all formats... you have to pay for the full version get full support.
    Of course as large PowerDVD, but not for free.

  • How keep the paths with LV, I am looking for the way to store paths?

    I'm looking for ways to store paths, so that when I run a VI requiring this way, I don't have to set it.

    What I want is to establish once > store it > open a VI who select automatically.

    I have an example, but it gives a bad result.

    One thing to think creates a configuration file that contains constant file paths that you need.  I think it's a bad idea to have hard coded paths in your code.

Maybe you are looking for

  • Satellite Pro S500 - 11 c - password not recognized

    I bought a S500 - 11 c in July. I have set up with a startup password and it seemed ok. Turn it on, enter the password and off you go.I've written the password down "just in case". Due to circumstances the laptop then unused for about two months. Now

  • Re: Satellite A660 - FN + F1 - F9 does not work after hibernate

    This problem often occurs when my A660 went from hibernation mode, and sometimes in normal situationIt can only be fixed by a reboot of the system, I checked the application of Flash cards and it's work and I still can use it instead of the FN keyals

  • Web-camera on Satellite A300 problem - 10 c

    Hello!!! I have a laptop Toshiba Satellite A300 - 10 c. Problem with the webcam! OS WINDOWS 7 ULTIMATE X 64Everything downloaded from the firewood with an official site! and when I turn on the room gives me: * the webcam is unplugged or defective. Ch

  • Screen time, works the time indicated from the beginning or the end of the block

    When the selection of a block is both above the block of time limits screen, the start time or end, for example, I add a blue block under 19:00 made that led to the block will begin at 19:00 or 20:00 is really unclear. Thank you very much Tony

  • Use two assistants for the acquisition of data at the same time

    Hello I want to read multiple data channels of analog inputs on my DAQ hardware. However, when I try to create two separate data acquisition assistants for each entry, it gives an error saying "is reserved for the specified resource. The operation co