Design of table problem

I have a request which I am required to design three forms: one for the data of the juvenile offenders, one for homes (institutions) data that take care of these young people. The third form is that which deals with various operations, that a young person can have; as "entered the House", "escaped from the House", "on leave", "sent to hospital" etc.

The first two forms are quite simple and is based on a single table. Regarding the third form, it must have a master/detail with the master block design with two fields: identification number of the teenager and the code number of the institution. The block of retail has transactions with a composite key of (youth, Code of the institution ID, Transaction Date and Transaction Serial No.). The transaction serial No. is reset every single date.

My question is: with this design I have a table (the master block table) without a key; is this considered good design table, or am I wrong?

elmousa68 wrote:
... Etc... the captain block with two fields: identification number of the teenager and the code number of the institution. The block of retail has transactions with a composite key of (youth, Code of the institution ID, Transaction Date and Transaction Serial No.). The transaction serial No. is reset every single date.

My question is: with this design I have a table (the master block table) without a key; is this considered good design table, or am I wrong?

The main block must have a "composite" key: ID of youth and the code of the institution.
BUT this block is not necessary because you have TWO main tables: young offenders and the Institutions which have their primary keys.

For transactions, just define youth ID and Institution code as foreign keys each correspondent Master table.
: p

Tags: Database

Similar Questions

  • How to design the table from the answer to the question table.

    Hi all

    I am creating an application for student review online.

    There are two types of questions, the only choice of response and multi choice answers.

    My question is less than
    create table question_master
    (
    exam_id number references exam_master(exam_id),
    marks_of_each_question number,
    type_of_question char(1),-- single choice answer/multiple choices answer
    q1 varchar2(2000),
    q2 varchar2(2000),
    q3 varchar2(2000),
    q4 varchar2(2000))
    my table to answer (I'm not satisfied with who is below
    create table answers_of_questions
    (
    answer_id number primary key,
    question_ID number referenes question_master(question_id),
    answer varchar2(4000) not null,
    is_answer_correct char(1),--y/n,
    student_selection char(1),--y/n   student select it or not
    ....
    ...
    now, I'm perfectly how to create the RESPONSE table to contain the answers.
    the only choice is good, but several checkboxes choices, what to do?
    How to design the table from the answer?

    do I have to create 2 tables to contain the answers?
    Note: the QUESTIONS and ANSWERS, all will be entered by the teacher. students will make a choice and I will store this choice in another table
    may be called STUDENT_SELECTED_ANSWERS or something like that.
    If anyone has some reference to the script retail scheme review online, kindly share with me.

    Kind regards.

    Kind regards.

    If you need to have answers in another table:

    Student (student_id, name, etc...)
    Review (exam_id, exam_name, etc...)
    Question (question_id, exam_id, question_text)

    Response (question_id, a_text, b_text, c_text, d_text, a, b, c, d).<-- one-to-one="" with="" question="" table,="" a-d="" flags="" used="" to="" indicate="">
    OR
    Response (question_id, answer_id, answer_text, OK)<-- many-to-one="" with="" question="" table,="" correct="" flag="" used="" to="" indicate="" correctness="" for="" this="" single="">

    Student_Answer (student_id, question_id, a, b, c and d)
    OR
    Student_Answer (question_id, student_id, answer_id)<-- creation="" of="" a="" question_id+answer_id="" in="" this="" table="" implies="" the="" student="" checked/selected="" it="" as="" an="">

    To what extent you want to standardize, it is up to you.

  • Changing aid necessary table problem

    Hello. I hope someone can help me with this problem.

    I have two tables, an and mv. Create the following script:

    create table (mv)
    the moduleId Char (2) CONSTRAINT ck_moduleId CHECK (moduleId in ("M1", "M2", "M3", "M4', 'M5', 'M6', 'M7', 'M8'")).
    credit ck_credits Number (2) CONSTRAINT CHECK (credits (10, 20, 40));
    constraint pk_mv primary key (moduleId)
    );

    create table (its)
    stuId Char (2) CONSTRAINT ck_stuId CHECK (stuId ('S1', 'S2', 'S3', 'S4', 'S5')),
    moduleId tank (2),
    primary key constraint (stuId, moduleId) pk_sa,
    constraint fk_moduleid foreign key (moduleId) references (moduleId) mv
    );

    And the scripts below is to insert data into the two:

    insert into VALUES mv ("M1", 20)
    /
    insert into VALUES mv ("M2", 20)
    /
    insert into VALUES mv ("M3", 20)
    /
    insert into VALUES mv ("M4", 20)
    /
    Insert in mv VALUES ('M5', 40)
    /
    insert into VALUES mv ("M6", 10)
    /
    insert into VALUES mv ("M7", 10)
    /
    Insert in mv VALUES ('M8', 20)
    /


    insert into a VALUES ('S1', 'M1')
    /
    insert into a VALUES ('S1', 'M2')
    /
    insert into a VALUES ('S1', 'M3')
    /
    insert into a VALUES ('S2', 'M2')
    /
    insert into a VALUES ('S2', 'M4')
    /
    insert into a VALUES ('S2', 'M5')
    /
    insert into a VALUES ('S3', 'M1')
    /
    insert into a VALUES ('S3', 'M6')
    /

    Now for the real problems.

    First of all, I need to try to overcome the problem of table mutation ensure that stuid = S1 in table its can not take the two moduleId M5 and M6.

    Just one or the other. I created a single trigger, but runs aground because of the changing table problem.

    The second problem that I need to overcome is that none of the stuids can have the ModuleID where total value of more than 120 credit credits. Credit value is stored in the table of mv.

    Thank you very much in advance for any help.

    Use a statement-level trigger:

    First of all, I need to try to overcome the problem of table mutation ensure that stuid = S1 in table its can not take the two moduleId M5 and M6.

    SQL> create or replace trigger sa_trg
      2  after insert or update on sa
      3  declare
      4  c number;
      5  begin
      6    select count(distinct moduleId) into c
      7    from sa
      8    where stuid = 'S1'
      9    and moduleId in ('M5','M6');
     10    if c > 1 then
     11       raise_application_error(-20001,'S1 on both M5 and M6!!');
     12    end if;
     13  end;
     14  /
    
    Trigger created.
    
    SQL> select * from sa;
    
    ST MO
    -- --
    S1 M1
    S1 M2
    S1 M3
    S2 M2
    S2 M4
    S2 M5
    S3 M1
    S3 M6
    
    8 rows selected.
    
    SQL> insert into sa values ('S1','M5');
    
    1 row created.
    
    SQL> insert into sa values ('S1','M6');
    insert into sa values ('S1','M6')
    *
    ERROR at line 1:
    ORA-20001: S1 on both M5 and M6!!
    ORA-06512: at "SCOTT.SA_TRG", line 9
    ORA-04088: error during execution of trigger 'SCOTT.SA_TRG'
    

    The second problem that I need to overcome is that none of the stuids can have the ModuleID where total value of more than 120 credit credits. Credit value is stored in the table of mv

    SQL> create or replace trigger sa_trg
      2  after insert or update on sa
      3  declare
      4  c number;
      5  begin
      6    select count(distinct moduleId) into c
      7    from sa
      8    where stuid = 'S1'
      9    and moduleId in ('M5','M6');
     10    if c > 1 then
     11       raise_application_error(-20001,'S1 on both M5 and M6!!');
     12    end if;
     13
     14    select count(*) into c from (
     15    select stuid
     16    from mv, sa
     17    where sa.moduleid=mv.moduleid
     18    group by stuid
     19    having sum(credits)>120);
     20
     21    if c > 0 then
     22       raise_application_error(-20002,'A student cannot have more than 120 credits!!');
     23    end if;
     24
     25  end;
     26  /
    
    Trigger created.
    
    SQL>   select stuid, sum(credits)
      2  from mv, sa
      3  where sa.moduleid=mv.moduleid
      4  group by stuid;
    
    ST SUM(CREDITS)
    -- ------------
    S3           30
    S2           80
    S1          100
    
    SQL> insert into sa
      2  values ('S1','M4');
    
    1 row created.
    
    SQL>   select stuid, sum(credits)
      2  from mv, sa
      3  where sa.moduleid=mv.moduleid
      4  group by stuid;
    
    ST SUM(CREDITS)
    -- ------------
    S3           30
    S2           80
    S1          120
    
    SQL> insert into sa
      2  values ('S1','M7');
    insert into sa
    *
    ERROR at line 1:
    ORA-20002: A student cannot have more than 120 credits!!
    ORA-06512: at "SCOTT.SA_TRG", line 20
    ORA-04088: error during execution of trigger 'SCOTT.SA_TRG'
    

    Max
    http://oracleitalia.WordPress.com

  • Problems of design of table

    http://www.jdcdemo.com/seark/site/REFRIG.html

    I have more than my share of issues with this simple page styling. As far as I can tell, the rules are written correctly and the style appears in the mode of provision, but is not rendered in browsers. Where am I wrong? I tried just vanilla tags, more composed breeders etc and cani't seem to get anything to work.

    TIA,

    Joe

    Always happy to help.

    (It would be good if you checked that answered correctly so that people who don't have no need to keep clicking on it.)  (Thank you!)

    --

    E. Michael Brandt
    
    www.divahtml.comwww.divahtml.com/products/scripts_dreamweaver_extensions.phpStandards-compliant scripts and Dreamweaver Extensions
    
    www.valleywebdesigns.com/vwd_Vdw.aspJustSo PictureWindowJustSo PhotoAlbum, et alia
    
  • Windows xp routing table problem

    I'm having a problem with windows routing tables on the pc at my workplace.
    These computers are running windows xp sp3 and the problem occurs when I change the default gateway

    the PCs are on subnet 10.181.1.0/24 with d/g 10.181.1.11.
    with this configuration, the routing on each pc table works as expected [for example, it stores a
    Directions to its own subnet [10.181.1.0/24] but no way to other subnets [for example, it will not store
    a road to 10.180.1.0/24, it will simply send this default network traffic
    gateway].

    However, due to a re-design network, I need to change the default gateway for this lan
    to 10.181.1.254. When I do cela something strange happens. the windows routing table on
    each pc begins to store routes to the entire 10.0.0.0/8 network, even if the current
    config on the pc is still a 24 network [for example, 10.181.1.21/24, d/g 10.181.1.254].
    its as if when I change default gateway from the computer, windows, pleasures of the routing table of the
    10.181.1.0/24 subnet as if it were a network 10.0.0.0/8 classful.

    While, right? I can still connect to other networks, the pc is just using a route
    stored in its routing table local instead of sending traffic to its default gateway.
    The problem is that we have a 10.181.1.12 default backup gateway that we switch to
    If the primary gateway goes down. When we test failover to 10.181.1.12 pcs are always
    Send non-local traffic to 10.181.1.11 [because they still have these routes stored locally in their]
    Windows routing tables]. I want to send traffic to 10.181.1.254 [switch a core of layer 3, which then]
    two lanes of traffic to 10.181.1.11 or. [12]

    I tried to change the default gateway to a range of ip addresses and the same problem occurs every time.
    I rebooted each pc after having changed its d/g and the problem remains the same. I tried
    delete all the information off the power the pc ip address, then re-enter with the new d/g, then restart
    the pc but the problem remains the same.

    so, to summarize, when I change the d/g from any pc on the 10.181.1.0/24 subnet, computers table routing begins to store routes
    in its local routing table to the classful, instead of just the classless 10.181.1.0/24 network 10.0.0.0/8 network.

    Has anyone encountered this before?

    Hi biglouie2010,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows XP forum.

    http://social.technet.Microsoft.com/forums/en/itproxpsp/threads

  • Oracle 11G - access to the table problem

    Hello
    New on Oracle IAM... After you create a database, I created a connection and SYSDBA role...
    And then I create a table called Table1. And then I create a new USER and I Connect with the same SID of the database, but the role has the DEFAULT value for this new USER...

    01. but the problem is that I can't find the Table1 table for this new user... so how acess as Table1...?

    02. I came to know in Oracle, also we can design forms for the frontend and can generate EXE... Is this true?

    03. in SQL Server - Sql Port with static IP - we have access to the database for remote users... Is it possible for Oracle?


    Thanks for the directions...

    997497 wrote:
    Hello
    New on Oracle IAM... After you create a database, I created a connection and SYSDBA role...

    What the user did you use to connect? I'm guessing that you logged in as SYS

    And then I create a table called Table1. And then I create a new USER and I Connect with the same SID of the database, but the role has the DEFAULT value for this new USER...

    So I guess that you have created the table in the SYS schema. You should never, ever create user objects in the SYS schema. If you have created the table in the SYS schema, you really need to drop and create in a more appropriate scheme.

    You indicate that you come from SQL Server, so there may be a question of terminology. Which refers to SQL Server as a "database" is roughly equivalent to what Oracle designates as a "scheme." An Oracle database contains many schemas. A schema is the set of objects owned by a particular user.

    01. but the problem is that I can't find the Table1 table for this new user... so how acess as Table1...?

    As I said above, you really, really should not create objects in the SYS schema. If you really want, however, you need to log the SYS schema and grant access on the table to your new user

    GRANT SELECT ON sys.table1 TO your_new_user
    

    You will then need to fully qualify the table name in your SELECT (or create a synonym or the current_schema)

    SELECT *
      FROM sys.table1
    

    02. I came to know in Oracle, also we can design forms for the frontend and can generate EXE... Is this true?

    Older versions of Oracle Forms would create server executables. The modern versions are used to create three-tier applications. You can also use APEX to build web applications. Of course, you can also generate executables by writing code in another language (often .net).

    03. in SQL Server - Sql Port with static IP - we have access to the database for remote users... Is it possible for Oracle?

    Is this possible? Sure. Depending on what means "remote users", however, it may be poorly advised - you would never open a database to the internet directly, for example, you want to ensure that the remote users are connected to your network (via a virtual private network).

    Justin

  • design of table size question of data modeling

    Hi Experts,
    Sorry if I put my question in a wrong forum please suggest an appropriate forum.

    need your opinion on the current design of our data warehouse of 10 years.
    There is a dimension table with the structure as follows

    Dimension table
    --------------------
    Number of dimension key (THIS IS NOT a PRIMARY KEY)
    Natural key (from source) number
    the source name character
    current record indicator e Char (1)
    date of form_date
    TO_DATE date
    several other columns, which, if change a new current record is created and the previous one is marked as H-historical

    Data are stored in the table of size like this
    Dimension_key natural key Source name current record ind from_date to to_date
    1 10001 Source1: 1 January 2005 May 31, 2005
    1 10001 Source1: 1 - jun - 20005 12-dec-2011
    1 10001 Source1 C 13-dec-2011 NULL

    2 20002 Source1: 1 - jun - 20001 12-dec-2011
    2 20002 Source1 C 13-dec-2011 NULL

    The problem I see in this design is that if any attribute is changed there is no surrogate key, the new record is inserted first taking the key dimension based on the (natural_key, source_name, current_record_ind).
    Shouldn't it be kept as follows based on the principles of data warehousing.

    Dimension_key natural key Source name current record ind from_date to to_date
    1 10001 Source1: 1 January 2005 May 31, 2005
    2 10001 Source1: 1 - jun - 20005 12-dec-2011
    3 10001 Source1 C 13-dec-2011 NULL

    4-20002 Source1: 1 - jun - 20001 12-dec-2011
    5 20002 Source1 C 13-dec-2011 NULL

    Please let me know the advantages and disadvantages of the current design.

    Published by: Rous Sharma on December 15, 2011 20:28

    Correct, your second example for example by using a surrogate key is design to go with.

    Flaws with the original design:

    -There is a relationship one between Dimension_Key and Natural_Key, no need to keep both.
    -Si Dimension_Key is the FK with a fact table, there will be a number of many relationships between fact and Dimension.
    -Additional processing to search for Dimension_Key rather than simply for example use a sequence.

  • Alignment of the Flash menu in table problem/margins between images

    Hi, I built a website using Dreamweaver (I'm a complete newb to CSS and HTML, I'm a kiltmaker!). It uses a table layout that will connect eventually to a shopping cart. I'm just working on the html part, and I would include a Flash menu bar. When I add the SWF file, I would like to align with the top of my product images, but unfortunately, ends up looking like this:

    http://amhamiltonhandmadekilts.co.UK/test/flashtestdresssporrans.html

    I would really like it if the top of my menu flash would align at the same height as the rest of the images, for example at the same height as "dress sporran" etc so that the design is flush.

    Any ideas on how I could solve this problem would be greatly appreciated!

    Also, I would like that the spacing between the images were not as big table, so that it looks a bit neater, is this easy to do?

    Thank you very much

    Steve

    I see you still seem to be placing the menu and products in the structure of the table.  First create an external table which has two cells side by side.  Make sure that the 100% table.  In the left cell of the table, place the Flash menu with its setting valign to the cell.  In the right cell of this place of menu a new table that contains only products.  This approach allows you to remove any dependence on the menu arrangement of the products and vice versa.

    Play with it in a new page of practice... feel free to try different things.  I think it's good for you to gain experience with the handling of the page layout using tables.  That way, if/when you move to the side of the css, you will be able to say why it is preferable (if you do) by personal experience, and not because someone else said it.

  • manipulation of the table problem

    I'm using Labview 2009 and I have a problem with windows... I have to implement the following code in Labview (X and digital input boards):

    for (i = 0 to MAX (X)) {}

    If (X [i] > (X [i-1] + 1)) {}

    X.Add (X [i], X [i-1] + 1) / / add the value X [i-1] + 1 x [i] position of the X table

    Y [i] = 0

    }

    on the other

    Y [i] = Y [i]

    }

    If I try to add items in the original array Y with the function 'Replace subset of table', the output array is not changed by the VI. If I try to initialize and to build a new table, I get a matrix of zeros. Can someone help me?

    If you want to just add 0 to the index that does not exist in X [] then try this.

  • MS Office report Express VI and table problem

    Hi all

    I have a strange problem with MS Office report VI, which is included with the report generation tool. I created an Excel template that I linked, according to the preference "Custom template for Excel" and all the named ranges. However, two of the named ranges that I entered are 1 d arrays of doubles. Now the problem:

    When I entered the berries to their specific name range (it's only 6 values), instead of simply enter the values in the table in the cells he entries like this:

    A value of 0

    1 value

    2 the value

    ...

    6 value

    He pushes the 'value' to the column next to the beach of name because of 0-6.

    He does it with two tables so it screws to the top of all formulas. Anyone know how to remove the 0-6 and simply enter the values?

    Thank you all

    The Express VI are easy and convenient, but some costs. Since the Express VI can also accept a waveform entry, you have to accept that it will add a channel name.

    With the tool report generation (who are also its limits), it's easy to add only the data you want:

    Ben64

  • simple table problem

    I have read some data from a text file and form a table according to my requirement (the illustrious photo attached).

    What my problem was when I used this table in an other vi through the connector components, all the lines in the resulting table the width of the line of maximum size, and are filled with zeros.

    How do I remove it? I need the lines ending with its own values, here in my case two first rows should have 5 items in the table, the elements of line 7 third and so on...

    Your VI makes no sense. Why not autoidenxing? Why "delete from table?

    Here's a simple possibility (just to write the resulting string in a file).

  • Table problems

    Hello OR Forums, I currently develping a VI to specify the tensions that will be send to the device that will run two mirrors. The idea and the configuration are pretty basic, but programming, it's a question. Matrices X and there are elements that correspond to a point located on a network of coordinates. For example, maybe my items in my grid for X [-2, - 1, 0, 1, 2] and my Y could be [-2, -2, -2, -2, -2]. However, the problem is that I need a larger value of X and Y for I could resign in the grid and reassemble in table X. For example, will be my next line of items [-2, - 1, 0, 1, 2] X and [-3, - 3, -3, -3, -3] for Y. However, how my program is written my last value of is less than the previous item. Thus, ideally I would form a table that would have an extra X element that corresponds to the step down in voltage on the axis Y. This would be ideal: [-2, - 1, 0, 1, 2, 2] x and [-3,-3,-3,-3,-3,-4] for y.

    Sorry for this question is a bit bad made. The application of this program is quite simple, but it seems to me a bit puzzled.

    If you want to start (start X, start) then continue to start X + step X, start. Continue (Start, X, Y). Then go to start X, Y + step start o and increment in X. Repeat for all the table again.

    Is that a correct understanding of what you want?

    If so, you can do this with a picture of the X values and an array of the values, or even with no tables at all.  Create a State with the States for Scan X machine, trace, and no matter what States are required for initialization and shutdown.  Have two shift registers to track the values X and Y or indexes. Whenever you increment X through the State X Scan. When X reaches the maximum value or the index reached the last X, change the State to trace. It increments Y and restores X X start or equivalent for the index. When you reach Max X and Y of Max, go to the State of clean shutdown or restart.

    No complicated manipulation table required.

    Lynn

  • design of circuit problem

    Hello

    I created a R - 2R ladder network (joint it photo below) to convert digital-to-analog and I used an op amp to amplify the output of the R - 2R ladder somelevel network. The problem here is that I'm not able to generate ouput when I connect the same versatile Board circuit and it gives precise ouput in multisim someone pls help me what could be the problem.

    The common 741 op amp input mode range is specified as +/-12 V with a power supply +/-15V. Due to the input of this beach circuit design won't change much with the supply voltage. The tension on the no reverse entry in your circuit is ~0.6 V which is well outside the common-mode input range.

    If you need to use a single power supply, then look for an amplifier with negative power included in the common-mode input range.

    Also consider the range of output voltage. For the 741, the output range is of +/-12 V minimum and +/-14 V typical, which means that your circuit cannot guarantee a lower than 3 V output voltage regardless of the digital input.

    Polarization R11 R12 circuit does not a lot because the R - 2R network has a much lower impedance. R11 is in parallel with the impedance of the network (R) output.  The contribution of the 12 V bias is about 70 mV.  Input bias current must flow in input of OPAMP becaues they are the bases of the NPN transistors. If the output of the R - 2R network is located at the entrance common mode range enough current polarization runs through the network (error 80 typical uV).  If the output is not in the circuit's common-mode input range will not work if the impedance will not matter.

    Lynn

  • Edge of metering size buffer/table problem (VC ++)

    Hello

    Accidentally, I posted this in the multifunction DAQ forum so forgive me for posting this again here.

    I'm trying to make an edge stamped with PCI-6115 of counting for the application that I'm developing.

    Ideally, I initialize a buffer array, then use a sample clock time and acquire the values of a counter which will then be stored in a buffer.  After a number of samples, I would then use the DAQmxReadCounterU32 function to extract this data and perform calculations.

    However, windows gives me an error when I try to initialize the size of the stamp of table is larger than 255001, I need 264000 +.

    Essentially, it seems that only this part of the code to execute:

    error int = 0;

    TaskHandle taskHandle = 0;

    TaskHandle taskHandleCtr = 0;

    given uInt32 [260000];

    After trying initialize the array of uInt32 my program crashes saying there was an error with my exe with a popup asking me if I want to send an error report to Microsoft.

    That would be a problem of windows not afford to allocated more 255000 32bits samples for this table?  If so how can I put the table on the memory embedded amount?

    Sorry guys, it actually had nothing to do with the DAQ card.

    He was apparently C++ that limits the size of the array that I called him, which was the traditional "int a [size]".

    I used this rather to solve my problem:

    int * a = NULL;
    a = new int [10000000];

    Problem solved.

    Sorry for posting in the wrong forum and thanks to all who read this.

    Howard

  • Need help - multilevel nested table - create table problem

    Hello

    My version of oracle db: 11g

    I just created a table that contains a nested multi-level table.

    Here is the code:

    create or replace type sdef_t_nt_empNames21 is table of the varchar2 (50);

    create or replace type sdef_ot_SCmarks21 as an object (number of physics, chemistry number, number of Biology);

    create or replace type sdef_t_nt_SCmarks21 is table of the sdef_ot_SCmarks21;

    create or replace type sdef_ot_allsubmarks21 as an object (eid, eng, math, sc sdef_t_nt_SCmarks21 number number);

    create or replace type sdef_t_nt_dep_m_info21 is table of the sdef_ot_allsubmarks21;

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    store table nested like NT_c_sdef_t_nt_dep_m_info21; c_sdef_t_nt_dep_m_info21  <-I know that the problem is here.

    TRACE OF THE ERROR:

    Error at startup on line: 13 in the command.

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    Nested table c_sdef_t_nt_dep_m_info21 (sdef_t_nt_SCmarks21) store as NT_c_sdef_t_nt_dep_m_info21

    Error report-

    SQL error: ORA-00904: invalid identifier

    00904, 00000 - '% s: invalid identifier '.

    * Cause:

    * Action:

    PS: I'm just solve a problem given to me by some1, is not a practical implementation, I'm just trying to get through

    I'm sure that some1 could help me with this, I have searched a lot of this problem but could not find my answer, please help me.

    Concerning

    Rahul

    SQL > create table (nt_dep21)
    Did number 2,
    3 dname varchar2 (50).
    4 c_sdef_t_nt_empNames21 sdef_t_nt_empNames21,
    c_sdef_t_nt_dep_m_info21 5 sdef_t_nt_dep_m_info21
    6                       )
    store c_sdef_t_nt_empNames21 7 nested as NT_c_sdef_t_nt_empNames21 table
    store c_sdef_t_nt_dep_m_info21 8 table nested as NT_c_sdef_t_nt_dep_m_info21)
    9 table nested as NT_sc sc store
    10                                                                               )
    11.

    Table created.

    SQL >

    SY.

Maybe you are looking for

  • Game of Lenovo services s650 google has stopped

    Help, please! My lenovo s650 every 10-15 minutes a message "Unfortunately google services play has stopped" even if everything works normally. And every time when taken charger? (Strange) Earlier, I had a custom version of the kit kat 4.4.2 baraljabi

  • Happy new year to all, I'm new to all this.

    I don't even know if I'm in the right forum. I just got a new laptop Aspire E 15 for XMass.  The operating system was accidentally in French instead of English. We have tried to change during installation but couldn't.  Anyone can guide me please as

  • Problem with the installation of .NET Framework 3.5 SP1

    I use Windows XP Home edition, and that you must install Net Framework 3.5 SP1 to run Paint.net.  I get the following error: EventType: visualstudio8setup P1: 35101 P2: 3.5.30729.01_orcas_x86_net P3: mc P4: inst P5: f P6: ca_installassemblydef.364323

  • transfer my license to a new pc (off allowing the old pc)

    Hello I have a macbookpro running windows vista SP2 under bootcamp - I just bought a mac pro also and want to run windows on the mac pro than the macbook (removal of the windows partition on my macbook for free space). What is the best way to do this

  • sign of admin on user accounts

    I don't remember of my admin password to log on to widows to make or edit user accounts. I had comcast and now I cannot rec. ot all mail it. How can I reset the password on my admin.sign on?