Haw to find the element in the table that appears only once

I have a table like this 2d:

1 2 3 4 5 0

5 6 2 4 7 2

8 3 6 0 9 4

5 6 7 7 3 2

And I need to find items that appear only once in this table

In this case, 8 and 9

I also need this elements (row and column) position

Are integers

I tried to remodel the table and use the find but no result.

Your best bet is to remodel a table 1 d do your seaching and use 'Quotient & rest' to convert location (index) in the table 1 d back to the index in table 2D. Use "Array Size" to get the number of rows and columns of the table 2D.

The histogram only works on 1 d arrays.

Or reshape a 1 d table. For each digit (0-9), use 'Search 1 D Array' twice. If the first 'search' finds a match (does not =-1), use the offset to start the 2nd search beyond the 1st index discovery. If 2nd 'search' returns-1, then one and the SAME time happens

The index of the first 'search' to calculate the index (Quotient & rest") line and collar of the 2D array.

Tags: NI Software

Similar Questions

  • How to find the tables that are used in a procedure

    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    Mark1970 wrote:
    Hello
    I need to write a SQL to find (user_source) procedures or triggers (from user_triggers), whose code contains the registerd tables in a table X.
    In other words, I have a table X with files having a column containing tables. I want to write a SQL to obtain these (proc, package and triggers) container objects or use the tables inside
    Can you help me?
    Thank you!

    I don't know if I understand your problem, but have you had a glance at the data dictionary views USER_DEPENDENCIES or ALL_DEPENDENCIES?

    It has classified hard dependencies of objects.
    If a table is used directly (not in dynamic SQL code in a string) in an object PL/SQL, the dependency is available in the stated points of view.

  • 3 images of the screen that appears at once, almost like a 3-d effect.

    Here is a link to the reference image, it is very difficult to describe exactly what is happening here.

    http://i.imgur.com/cDPiU.PNG

    You can see that it looks almost like a form any of the 3D is enabled, but I can't find the source of the problem.

    I tried to update all display drivers and monitor drivers, no dice. There is no strange processes running. LLE problem persists thanks to monitor changes.

    Hello

    You did changes to the computer before the show?

    This occurs generally when display drivers is corrupted. We will start the computer in safe mode and check with the question.

    Method 1:

    Start the computer to activate the video mode low resolution, and then test to see if the problem persists. To do this, follow the steps below:

    Access the menu advanced startup options by turning on your computer and pressing the F8 key before Windows starts. Boot advanced options, select the menu Activate video mode low resolution.

    Startup options (including safe mode)

    Method 2:

    If the screen works fine mode low resolution. I suggest to turn off the graphics card and start normal check with the question.

    a. right click on my computerand then click Properties.

    b. click on the hardware tab, and then click Device Manager.

    To view a list of the network cards installed, expand display cards. Click to locate the video card, then turn off the device.

    Let us know the results.

  • How to remove the objects that appear only in outline view?

    I've hidden objects in a file that only appear in schema view. It wont let me select them and is to make the file larger then it must be. Any ideas to get rid of these unwanted items? Thank you!

    You can check if there is a clipping mask in this layer. Open the layer by clicking on the triangle.

  • How to find the table in a schema, if I only have a particular column name

    Hi all

    Ideal if some1 could help me, I know not a column name and I need to find the table that actually holds this column paricular name I know.

    is it possible to find this particular table with SQL?

    Thank you
    Rahul

    Select the table TABLE_NAME from user_tab_columns where column_name = 'COLUMN_NAME '.

  • Find the table of characters on my computer if it is not in the accessory file

    I write a scientific article for the school and could not find the table of characters on my computer.  I looked in Accessories - System Tools and nothing.  I should I reinstall or at least find a site online that will show you the appropriate key strokes to get what I'm looking for

    Hello

    Start - type in the search box-> find the table of characters at the top of list - double click it to run it.

    You can also right click and COPY then PASTE an icon on the desktop or the start menu.

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Find the table number B > = number in the table but < then next entry b

    I'm trying to understand the following: find the table number B > = number in the table but < then next entry b

    Table A

    5
    10
    21
    20

    Table B

    8
    12
    16
    23
    40

    The 5 entry in table A, I would like to return 8 b
    For the 10 entry I would lke to return 12 b
    21 entry I would like to return 23 b
    20 entry I would like to return 23 b

    Edited by: Withnoe October 5, 2012 09:19

    Edited by: Withnoe October 5, 2012 10:54

    CREATE TABLE TAB_A (CLASS # VARCHAR2 (10), THE NUMBER OF TERM);
    CREATE TABLE TAB_B (CLASS # VARCHAR2 (10), THE NUMBER OF TERM);

    INSERT INTO TAB_A VALUES ('BIOL 520', 201010);
    INSERT INTO TAB_A VALUES ('BIOL 521', 201250);
    INSERT INTO TAB_A VALUES ('BIOL 522', 200980);

    INSERT INTO TAB_B VALUES ('BIOL 520', 201110);
    INSERT INTO TAB_B VALUES ('BIOL 520', 201150);
    INSERT INTO TAB_B VALUES ('BIOL 520', 201250);
    INSERT INTO TAB_B VALUES ('BIOL 521', 201250);
    INSERT INTO TAB_B VALUES ('BIOL 521', 201260);

    SELECT MIN (TAB_B.TERM) TERM, TAB_B.CLASS # TO TAB_A, TAB_B
    WHERE TAB_A.CLASS # = TAB_B.CLASS #.
    AND TAB_B.TERM > TAB_A.TERM
    GROUP TAB_B.CLASS #;

    Please let us know if you need anything else. Thank you

  • cannot find the table name of the multiple tables which has more columns.

    Hello

    I'm trying to find the NAME of the TABLE from multiple tables which has more columns. I can't count the number of columns in the table, but cannot find the name of the table that has larger columns in other tables.

    SELECT TABLE_NAME, COUNT (*) FROM THE USER_TAB_COLUMNS WHERE TABLE_NAME LIKE '% LOC' GROUP TABLE_NAME


    Thank you.

    in SQL, you can try this:

    var v_name varchar2(40)
    
    begin
       with
          subq1 as ( select table_name, count(*) as column_count from user_tab_columns where table_name like 'FIBER%'
                         group by table_name
                         order by count(*) desc )
       select table_name
         into :v_name
        from subq1
       where rownum = 1;
    end;
    

    To get the result:

    select :v_name from dual
    

    The clause "with" brings together all the tables and ordered them all first, by the greatest number of columns
    The final query uses the rownum restriction so that it takes the first name from the table of results of the subquery.

    The restriction of rownum also exactly guarantees a result each time so that it will work with the variable binding.

    RP

  • How to find the name that differ just a little

    Hi all

    I wonder if is a short distance to find the name that differ for 2/3 characters;

    Example, I have a table that contains 1 varchar2 column.

    Martello

    point

    Pistola

    cemmello

    Cammelli

    I need to write a query like:

    Select * from table where colum = point

    in the result set, I want to

    point

    cemmello

    Cammelli

    Thank you

    F.

    Hello francy77

    In fact, it is not possible. There is a SQL "soundex" function, which "returns a string containing the phonetic representation of the char . This function allows you to compare the words that are spelled differently, but sound as well in English. »

    Example: Smith could be written as "SMYTHE".

    Try this:

    SELECT first_name

    FROM (SELECT 'Smith' AS the name OF DOUBLE UNION ALL

    SELECT 'Sophie' AS the name OF THE DOUBLE)

    WHERE SOUNDEX (first_name) = SOUNDEX ('Smythe')

    ;

    You get two records...

    But if you have a specific logic, then you must create a function and he set what text - what you want text input.

    Is it useful or the solution for you?

  • SQL statement to select the tables that are updated today...

    Hi guys,.

    I need to find the names of all the tables that contain rows that are inserted/updated on a given time stamp...

    Below the statement gives me the list of all tables in the database...
    select t.table_name from all_tables t;
    All these tables in the database have a rowversion column which gives the date of update/insertion of a record. I need to write a select statement (probably dynamic) that will give me the names of the tables that contain the rowversion value 24/01/2013...


    Any help is appreciated...

    Napster says:
    Hi kitsoukou,

    Thanks for your reply...

    But when I run your select statement I get an error indicating that the table SYS. DBMS_XMLGEN does not exist.

    Probably something wrong in my environment?

    If I'm not mistaken there are DBMS_XMLGEN 9i.

    The source code is available under

    karthick% ls -lrt $ORACLE_HOME/rdbms/admin/dbmsxml.sql
    -rw-r--r--   1 oracle   dba         7977 Mar 23  2004 /home/oracle/product/10.2.0.5/rdbms/admin/dbmsxml.sql
    

    You can take this and run to install DBMS_XMLGEN.

  • How do you find the range that a function belongs?

    If you discover a function and want to use it, how do you find the range that a function belongs?  I know how to find a function, but don't tell me how to find his range.

    Thanks in advance.

    When you search for a function and double-click on the result, it will bring to the top of the tree of range of features and show you how to get to this function:

  • I do not understand this step "we can assume any MAC address we want by finding the key that controls the NIC we want to change.

    Hello
    anyone ever did in Winxp with success. I do not understand this step

    «We can assume that any MAC address, we want by finding the key that controls the NIC we want change, put in a value chain called "NetworkAddress" and affecting the MAC address we want to use formatted as a hexadecimal 12-digit number (example: 000000000001).»

    It is a part of the "Windows 2000/XP/Vista: The Hard Way.

    from this link
    http://www.irongeek.com/i.php?page=security/changemac

    Concerning

    original title: change MAC address

    Hello

    I suggest to refer to this thread and follow the steps in this thread and check if that helps:

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/thread/697bf48c-A226-4315-8875-2bbeddf16db2

    The steps in this link are for Windows 7 and they are valid for Windows XP.

    It will be useful.

  • At startup, getting the error - the system could not find the environment that was entered

    I have Windows Vista Home Premium and I have the OS on my hard drive with no CD. I get the following error message when I start my laptop on the desk. The system could not find the environment that was entered. What can I do to fix this?

    The only answer I found in Google:
    http://UK.answers.Yahoo.com/question/index?QID=20100411034348AAALd89

    Your laptop you happens to be a Sony Vaio? What model?

  • I have acidently deleted my eviroment. now I can not install anything or change my settings in my control panel. Msconfig does not work this is the messege I get: the system cannot find the environment that was entered

    I have acidently deleted my eviroment. now I can not install anything or change my settings in my control panel. Msconfig does not work. Cannot change network settings. This is the messege I get: the system cannot find the environment that was entered

    Hi kotipelto.

    To better understand the issue, we need the following information:

    Are what environment you referring?  What did you delete?

    Let us know if you can start the computer in safe mode and works as expected.

    Access the menu advanced startup options by turning on your computer and pressing the F8 key before Windows starts. Boot advanced options, select the menu safe mode.

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    If you can start the computer in safe mode, perform the system restore.

    System Restore: System Restore to put the computer's system files to an earlier point in time.

    Search the steps mentioned in the link below:
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-sytem-restore

     

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows 7: the search does not find the files that should be, directory is indexed and *.php included on the list of extensions

    Windows 7: search does not find the files that should be. I have indexed directory and *.php included on the list of extensions, but search can't find files for Word searches that I know there are files with these words in them.

    If you're frustrated by research (aka Desktop Search), you are not alone. Click the Start button and type find and click the button 'change the way Windows search'. Now click on the Advanced button and select the tab file types scroll down and find your type of file (in your case .php) and make sure the radio button "index properties and the content of the file" is selected for the file type.

    Out the form by clicking on the OK button, but do not close the form when you click the Advanced button.

    Then, you may need to change the indexing locations. If the folder where your files are located is not known for indexing search, then search is not even bother looking for here (a source of frustration for many users). Maybe your files are located on another drive or partition without the knowledge of the indexing engine. Using the options icon and select/deselect expand, make sure that at least the files of interest are included for the indexed locations. I hope this helps.

    samc1

Maybe you are looking for