Sort similar channels of a query

Hello

I'm stuck. Below you see the contents of my table "manufacturers". As you see the names 'Bertschi' and "Flückiger Hemmi" appear several times.



Ultimately I want to create a menu (in html) that might look like:

< option value = "157 164" > Bertschi < / option >
< option value = "158" > Bonsma < / option >
< option value = '159' > Burli < / option >
< option value = "160,162,163" > Flückiger Hemmi < / option >
< option value = "161" > Kornoski < / option >

So far, I can CHOOSE to "manufacturers", but all ranks are listed (this is normal). But how do I go from here. I have no idea how to analyze in a query for similar strings result. No idea on the collection and hersteller_IDs I need.

I am very grateful for any advice

Concerning

Hello everyone

Meranwhile that I found. Now, I'm happy and everyone thank you for patience and help!


SELECT trim (hkb_hersteller.hersteller_shortname) AS hersteller_shortname, hkb_hersteller.hersteller_name, hkb_hersteller.hersteller_fname, hkb_hersteller.hersteller_ID
OF hkb_hersteller
GROUP OF hkb_hersteller.hersteller_shortname, hkb_hersteller.hersteller_name, hkb_hersteller.hersteller_fname, hkb_hersteller.hersteller_ID
ORDER BY hkb_hersteller.hersteller_name ASC





#hersteller_name # #hersteller_fname # #hersteller_shortname # (#ids_list #)

Tags: ColdFusion

Similar Questions

  • Sort the channels in Toshiba 47L7453DG

    Hello

    I recently bought a new Toshiba 47L7453DG TV and I tried to sort the channels, but it was impossible. I found in the user manual, the following note:

    "Renumber, move, sort, and delete functions are not available for the antenna channels. Renumber, move, sort, and delete functions are only available for the DVB - C in Germany. »

    However, as I read in other posts, Toshiba recommends the use of this software (version 1.04) ToshibaEdit.

    I followed the steps described below:

    1. I transferred the list of channels of TV on USB
    2. I have compressed files
    3. I opened the in ToshibaEdit
    4. I reorganized the channels
    5. I saved the zip file
    6. I unzipped the files to USB
    7. I transferred files from USB to TV

    So far so good. However, although the list of channels is changed, the TV shows 'No signal' message across all channels, and I have to re - set my TV or load the original files that were exported from the TV (the first time).

    Have you already tested ToshibaEdit L74 series? I saw a similar post somewhere on this forum and a user had the same problem, but you have not proposed a solution. What seems to be the problem after you have saved the files in ToshibaEdit? I followed all the steps exactly as described in the manual here, hereand here.

    Please for more help I've been banging my head for 3 days now and I can't find a way to sort the list of channels, which BTW, is a very basic feature for all TVs.

    PS. I upgraded TV for the last firware (T8_1_97_09_01_1).

    Best regards

    Recovery of the subject.
    I have the same problem on the same model.

    Maybe somebody has already invented how to sort strings?

  • How to read 4 similar channels at the same time with the MCC

    Hello

    with the mcc libraries and a card PCi-6034 classic (by calculation of the measure), I want to read 4 analog channels at the same time. I have a "scope" with 4 channels.  How to read 4 channels at the same time with the mcc?

    MF

    Hello MF.

    Thank you for using OR support.  I guess you try to program in LabVIEW.  Where exactly did you get the MCC library of?

  • Sort channels PDM

    I read the channels of a PDM file data. The strings are different frequencies which data have been saved. However, they are not in order. For example, what channels can be organized, 1 Hz, 2 Hz, 3 Hz, 7 Hz, 5 Hz, 4 Hz. I am trying to sort these channels to be in my file. Or another option would be to define and "lock" the channel order in the PDM before collecting data.

    Now, I know what you mean. The mixture of channels, it's because of the "NI_MinimumBufferSize" property that caches the raw data until it reaches the amount you set.

    You are right that once a channel is added to the file, its place is defined. So, you can try to put a "flush TDMS" right after the node of your "TDMS set properties. Once the channel with properties is emptied to file on disk, the place is defined.

  • Toshiba 55 L 7453 DTV channel released in Polish version does not work

    Hello

    I have a big problem in Toshiba 55 L 7453 (Polish).

    I can't sort the channels, I can, t change the channel number, I can't change the list of channels in Polish.
    When I changed my TV to the German setting I can do it very easy (red, green, blue buttons), but in my Smart TV, I requests German, not Polish. If it's not good.

    Therefore, I went again to the Polish version and have the same problem.
    In digital television, it is impossible to do something channels of Pentecost.

    I tried to move the list of channels to my pen-drive and sorting via ToshibaEdit, but Toshiba Edition did not read my files

    I packed in zip file. So what I have to do?
    I know that other Polish users have a similar problem with channels.

    Kind regards
    Kamil

    > When I changed my TV to the German setting I can do it very easy (red, green, blue buttons), but in my Smart TV, I requests German, not Polish. If it's not good.

    I think that vigi user has provided good info on this subject.
    On page 29 of the user manual, you can read this:

    + Renumber, move, sort, and delete functions are not available for antenna. +
    + Renumber, move, sort, and delete functions are only available for the DVB - C in Germany. +

    But unfortunately, it s not mentioned why this feature is only available in Germany.

  • An Alpha channel in 5 motion editing

    I used chromatic key successfully in many video projects Motion 5, but now I am interested in editing and in some cases, remove a layer alpha to any clip. I have read the user manual and learned about the export of the video using Apple ProRes 4444 and ensuring the drop down choices include color or color and alpha, but I think my question just before exporting.

    I bought video clips for use in my projects with alpha channels deleted and I would like to explore using this kind of function change myself.

    I'm just exercise wishful thinking here or is to detach the data of possible alpha channels in the query editor 5 no matter where I export the video?

    Thanks for any help to a novice Editor to the-middle-level-qualified.

    Bob T. Editor-in-Chief in manufacturing...

    Well,... no way alpha... ? something, some content, for example a solid color

    and it is set in the project properties, see:

    the two parameters of canvas even look: black.

    but when exporting with the setting on the right, instead of an alpha = transparency, the selected color fills the background.

    -What are you looking for?

  • Toshiba L 39, 4333 - how to switch between ATV and DTV channels

    I really don't understand.

    During a search of channel, I chose to find DTV and ATV, and he finds DTV 13 and 42 channels ATV,
    I can see the two in a list of channels while I'm still inside the channel search menu.

    But when I press the OK button (to exit the channel search menu) I have only channels DTV or ATV, function I watch last before pressing OK button.

    Have you ever read the manual Toshiba s L 39, 4333?
    Here the manual in case you want to check: [Manual user s Toshiba L 39, 4333 | http://www.toshiba-om.net/LCD/PDF/English/L4333-323950-English.pdf]

    You can watch analog (ATV) or digital (DTV) antenna channels
    You can sort the channels for ATV or DTV, but as much as I know you cannot mix ATV and DTV
    So for both you will have separate channels lists

  • PCIe-6259 anallog effect of clipping (perhaps overvolting) on other analogously in the input channels?

    Curious to know if the cutting/possible ovevolting on one of the analog channels would affect the performance of other similar channels. I have two systems, one where signals don't clip and the other channels are still operable. The other has some problems of cutting (which fade eventually btw) on some of the ins anlog. One with the cutting on other channels are apparently unusable while those who did no cropping entry seems to be well.

    I seem to be affected by a situation in which hanging on an analog channel makes so that other analog channels do not work.

    Curious to know if I can see what is expected?

    Anyone have an overview here?

    This is how it is supposed to work?

    We do not guarantee that all channels will work normally when you're in a State of fault/over-voltage.

    Since it is a MUX architecture'ed, that the channels are analyzed in order in the amplifier of shared instrumentation and ADC.  If the instrumentation amplifier is on track for channel 0 (for example), it will take some time to recover from this error after the next channel is enabled in.  This can cause a number of incorrect following channels (possibly indicated as being on track).

    Of course, we do not recommend to use this device in an error condition. When you said "analog channels does not" what do you mean?  The data on track?

    Some things that might help:

    -Slower sample which allows more time to settle the instrumentation amplifier

    -Skip the chain incriminated in the scan list

    -Make sure that the offending channel is set to the widest range of voltage (+/-10 v)

  • How to find the time between two channels of entry in the data acquisition card or pci 6036

    Hello

    I read a lot-related posts on the simultaneous measurement of two input voltage of similar channels in map data acquisition. I know that the best material is "simultaneous measurments of the Series DAQ cards" but I only pci data acquisition card 6036 and I try to understand what is the time between the reading of the two channels . This period is always constant? (must it rely on a voltage (amplitude, frequency, waveform..). I send the sine wave (s) to the two channels and read the values of V, if they read the same value, the difference should always be zero but I get-0,002 to 0.002 Volt difference (I must find a way to convert it in time). A screenshot of my VI is attached. I wonder how I can accurately measure the time delay between the channel.

    I am open to any suggestion, my final goal to read exactly two channels at the same time ((ou connaître le délai exact donc je peux correspondre les données correspondantes étant donné le temps de retard))

    Hi spinup,

    better you should post your question in the forum of LabVIEW, LabWindows/CVI is used

    Good luck.

  • Is it possible to manually search channels in Media Center?

    Mainly in my region of the United Kingdom I'm at roughly the center of 2 DTV transmitters.  This results in duplication of a lot of my channels, and as my Welsh is quite non-existent, I didn't want to have these channels.  There is no way I can delete my current line-up and manually search the frequencies I want?  My TV and all my boxes of TNT have this option but I can't find it on WMC.  I don't want to not load all of them and then try to delete the based Welsh, as well as outside the BBC channels stating for example BBC1 in Wales, I have no idea of who is who and I hear not sit and watch each are looking for regional programming.  Thanks in advance.

    Hello scooter91170,

    Thanks for posting on the Microsoft answers Forum.

    Here is the solution posted here by Valkeryie MT in a post to the www.thegreenbutton.com:

    1. In settings > TV > Guide > Edit channels.
    2. In settings > TV > Guide > add missing channels > add DTV channel. Start by adding the number of the original channel, then on the next page, type in the assignment of frequencies to antennaweb.org.  Then, fill the call letters for the station or something (I don't think that is really too long put you something).  Repeat for each channel.
    3. I n settings > TV > Guide > Edit channels, go to the newly added channels and highlight the description of the channel to the right of the check box (usually call letters) and press ok.  Then select "Edit lists", look for the info guide channel in the list (I've sorted by channel number).  Then he will show you two choices, choose "copy ".  Then repeat for each channel (choose copy or you will get errors later).

    If this solution does not help you, I suggest you post to www.thegreenbutton.com/forums. It is a Microsoft site and deals only with problems in Windows Media Center. They should be better able to solve your problem.

    I hope this helps.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Maintenance mode to create query strings?

    Why should I switch to Maintenance Mode to create query string parameters?  I created query string parameters in the past and I have never been held to switch to maintenance mode.  If I go to activate maintenance mode, here is the message I get:

    Maintenance mode is currently DISABLED. Click on the button at the bottom of the page to activate the Maintenance Mode. With the Maintenance Mode on visitors register as not being on the Web site.

    Then... I guess I have to move fast while it is in maintenance mode, so I don't miss the important Web site visitors.  I just took an Eloqua University class on the web of profiling and of maintenance mode was not mentioned when creating query string parameters.

    Just wondering why this requirement has been added in order to create new query string settings?  I'm sure there is a good reason, but I was surprised by this today.

    Hi Vince,.

    Maintenance mode is necessary if you are generating a high volume of web traffic. When the volume of Internet traffic is low, the system is able to create the settings while continuing to capture relevant data provided by all. If the traffic volume is high, the system cannot create additional "fields" in the database at the same time perform all write-queries that generate your visitors. In addition, when the new channels/parameters sets query are created, the system must comb all existing data to find these settings in one of the existing data, so if clickstream data is generated more quickly that the script can work through the data, it would cause a problem.

    So yes, it is possible that sometimes maintenance mode will be needed, and other times not. If necessary, its best to activate only for very short periods of time, as Yes, all incoming data in maintenance mode is ignored.

  • By using the analytical function to sort without showing this column in the result.

    Hello

    We use the Oracle 11.2

    How to use Oracle Analytics to sort the output of a query without showing this column in the result?

    Here's my query:

    Select distinct nvl(SRC_CHR_NM,'0') | » #'|| NVL(EXPL_SRC,'0') | » #'|| NVL(DIM_NM,'0') | » #'|| NVL(DIM_CHR_NM,'0') | » #'|| NVL(DIM_CHR_ABR,'0') | » #'||

    Decode (InStr (NVL(SRC_COL_NM,'0'), 'trim ('),'1 ', Replace (NVL(SRC_COL_NM,'0'),'trim (',' trim(PRM_DTL.'), '0',' PRM_DTL.)))) » || NVL(SRC_COL_NM,'0')) AS ALLOFIT,

    DIM_NM

    from EXPL_CONFIG where SBJ_AREA_CD = 'PRMDTL. '

    I want to use analytical to sort by DIM_NM but I do not want to show. I want to just just the ALLOFIT column to show in the output.

    Something like "row_number() over (order by DIM_NM desc).

    Thank you!

    Hello

    If you SELECT SEPARATE, then you can only ORDER OF things in the SELECT clause. (Do you really need to do SELECT DISTINCT?  Often, it's just an inefficient way to remove the lines that do not need to be there at all).

    Move making the SELECT DISTINCT in a subquery and make the ORDER BY (and nothing else) in the main query.

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002#9362002

  • Sort by field of database when using cfdirectory

    I have the following code, but you need to sort the list by a field (sortID) my database (not a value from the directory)

    -How can I add this?

    -J' tried to add "sortID" underneath, but it has no effect?

    -sortID is a field of type varchar 3 digits in MySQL

    <div data-role="collapsible" data-collapsed="true">
        <h3 align="center">Board</h3>
        <ul data-role="listview" data-theme="d" data-inset="true">
          <cfset DirList = "C:\Inetpub\wwwroot\CRM\CCC\attachments\board\">
          <cfset site = ("https://crm.domain.com/crm/ccc/attachments/board/")>
          <cfdirectory directory="#DirList#" name="qDir" action="list" sort="sortID DESC">
          <cfquery dbtype="query" name="dirsOtherOnly">
      SELECT * FROM qDir ORDER BY sortID DESC
      </cfquery>
          <cfoutput>
            <cfloop query="dirsOtherOnly">
              <li>
              <a href="#site##dirsOtherOnly.name#" title="Click to Preview" target="_blank">#dirsOtherOnly.Name#</a>
            </li></cfloop>
         
          </cfoutput>
        </ul>
        <cfif ("sicr" NEQ "region6" AND #Session.kt_login_user# EQ "john" OR #Session.kt_login_user# EQ "bob")>
          <p align="left">Click to add attachment: <cfoutput><a href="ul_l.cfm?id2=500&id5=Board" data-transition="fade" target="_blank">Attachments</a></cfoutput></p>
        </cfif>
      </div>
    
    
    

    Why would you want to order the result set in a column that apparently has nothing to do with it? In all cases, a solution is to get the sortID of the database column and add it to the charly resulting cfdirectory

    Something along these lines

    SELECT sortID

    FROM TBL

    SELECT * FROM qDir

    ORDER BY sortID DESC

  • SELECT query in a procedure

    How to create a procedure to SELECT similar to the following query? When I create a procedure; I get an error.

    • "Error (80.1): PLS-00428: an INTO clause in the following SELECT statement.

    PROCEDURE MyProc

    IS

    BEGIN

    Select 'Dakota' as an ALIAS

    A.StartDate

    B.EndDate

    customer A

    , Customers b

    where a.cType = b.cType

    and b.Active = 0

    ORDER BY StartDate, EndDate

    MyProc END;

    remove the; at the end of your query

  • Query using link help?

    I'm quite new in the world of SQL and I'm having a problem with an application using binding. I use SQL Developer (3.1.07).
    If I run the query with no binding, everything works fine. Normal occasions I have run this query on the day I want my totals and I get my desired results:

    HIS SELECTION. CRAFTS, nvl (SUM (SA. (LABORHRS), 0) ' loaded hours. "
    SOL_SCHEDULEBASELINEWOASGMNT SA
    LEFT JOIN SOL_SCHEDULEBASELINE ON SB SB. BASELINEID = SA. BASELINEID
    WHERE SB. DATECODE = "DAILY".
    AND TO_CHAR (SB. FROMDATE, "MON-DD-YYYY") = TO_CHAR (SYSDATE, ' DD-MON-YYYY "")
    AND TO_CHAR (SB. TODATE, 'DD-MON-YYYY') = TO_CHAR (SYSDATE, ' DD-MON-YYYY "")
    AND TO_CHAR (SA. SCHEDULEDATE, "MON-DD-YYYY") = TO_CHAR (SYSDATE, ' DD-MON-YYYY "")
    Sa.craft group
    sa.craft asc order

    BOATS loaded hours
    ---------- -------------------
    CONTROL.     24
    12 MM
    MT 6


    BUT * I want to enter my own date rather than use sysdate. This will be for when I get bored of running this for a day, wonder for the values of an earlier date, etc...
    The value will always be the same for all three date fields (SB. FROMDATE, SB. TO DATE, SA. SCHEDULEDATE)
    I modified the request here and the query still works very well at this stage: (I use April 1, 2012 to my link...)

    HIS SELECTION. CRAFTS, nvl (SUM (SA. (LABORHRS), 0) ' loaded hours. "
    SOL_SCHEDULEBASELINEWOASGMNT SA
    LEFT JOIN SOL_SCHEDULEBASELINE ON SB SB. BASELINEID = SA. BASELINEID
    WHERE SB. DATECODE = "DAILY".
    AND SB. FROMDATE =: DDMONYYYY
    AND SB. TODATE =: DDMONYYYY
    AND TO_CHAR (SA. SCHEDULEDATE, "MON-DD-YYYY") = TO_CHAR (SYSDATE, ' DD-MON-YYYY "")
    Sa.craft group
    sa.craft asc order

    BOATS loaded hours
    ---------- -------------------
    CONTROL.     24
    12 MM
    MT 6

    Now I change my request to what follows, I get a different result:

    HIS SELECTION. CRAFTS, nvl (SUM (SA. (LABORHRS), 0) ' loaded hours. "
    SOL_SCHEDULEBASELINEWOASGMNT SA
    LEFT JOIN SOL_SCHEDULEBASELINE ON SB SB. BASELINEID = SA. BASELINEID
    WHERE SB. DATECODE = "DAILY".
    AND SB. FROMDATE =: DDMONYYYY
    AND SB. TODATE =: DDMONYYYY
    AND SA. SCHEDULEDATE =: DDMONYYYY
    Sa.craft group
    sa.craft asc order

    BOATS loaded hours
    ----------- ------------------
    CONTROL.     10

    All columns have a Date data_type.
    As soon as I change SA. SCHEDULEDATE of

    AND TO_CHAR (SA. SCHEDULEDATE, "MON-DD-YYYY") = TO_CHAR (SYSDATE, ' DD-MON-YYYY "")

    TO

    PAM SCHEDULEDATE =: DDMMYYYY

    He keeps the results I need back.

    Why is this? Does anyone have an idea of what's going on here? Any help would be GREATLY appreciated!
    Thank you

    Hello

    Welcome to the forum!

    I'm not very familiar with SQL Developer. Should bind variables DATE? Other Oracle products; in them, you must use VARCHAR2 variables, like this (which works in SQL * more):

    VARIABLE  ddmonyyyy     VARCHAR2 (11)
    EXEC     :ddmonyyyy := '01-Apr-2012';
    
    SELECT        SA.CRAFT
    ,        NVL (SUM (SA.LABORHRS), 0)     as "Loaded Hours"
    FROM             SOL_SCHEDULEBASELINEWOASGMNT        SA
    LEFT JOIN      SOL_SCHEDULEBASELINE              SB   ON   SB.BASELINEID = SA.BASELINEID
    WHERE     SB.DATECODE                       = 'DAILY'
    AND        TO_CHAR (SB.FROMDATE,     'DD-MON-YYYY') = :ddmonyyyy
    AND        TO_CHAR (SB.TODATE,       'DD-MON-YYYY') = :ddmonyyyy
    AND        TO_CHAR (SA.SCHEDULEDATE, 'DD-MON-YYYY') = :ddmonyyyy
    GROUP BY  sa.craft
    ORDER BY  sa.craft     ASC
    ;
    

    It's very similar to your original query, where you have used TO_CHAR on all your DATE columns.

    Moreover, it would be more effective liaison conve\rt variable of a DATE, rather than convert the DATE on each row of a VARCHAR2. In other words, replace the comparisons as

    AND        TO_CHAR (SA.SCHEDULEDATE, 'DD-MON-YYYY') = :ddmonyyyy
    

    with

    AND        SA.SCHEDULEDATE >= TO_DATE (:ddmonyyyy, 'DD-MON-YYYY')
    AND        SA.SCHEDULEDATE <  TO_DATE (:ddmonyyyy, 'DD-MON-YYYY') + 1
    

    If is a coding more. It is up to you to decide if the efficiency improvement is worth.

    Published by: Frank Kulash, April 1, 2012 20:31

Maybe you are looking for

  • Location information of photos

    I went to a concert at Wembley Stadium.  Some of these photos I took were correctly located in London, but some have been civic in Coventry (different Stadium - next date of the tour!). Can I change the location information or delete it in the photos

  • snores when streaming

    sounds like the fan or motor

  • Urgent assistance needed, please! (Virus)

    Hi, about 20 minutes ago, I got a LOT of messages saying that various programs were running malicious processes on my computer... programs that I can remember are: CMD. EXE Spoolsv.exe There were about five messages altogether. About 10 minutes ago m

  • Bootdhcprelay and VLAN 6224

    Hi, I searched the forum and found a lot of help with this problem. I have 3 VLANS configured on my PowerConnect 6224 and a DHCP Server Windows Server 2000 with different subnet scopes, as far as I know that I need to put in place a bootdhcprelay ser

  • Search in win 7 does not work

    I'm running Win 7 ultimate in a virtual machine under Parallels on an iMac. In general, everything is smoothly for more than a year. However, the search function of Windows 7 is completely dead. It is not serious what I get or what directory I am, Wi