Jump to content

sbayeta

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Posts posted by sbayeta

  1. Hi,

    I have an app that needs a DBMS in order to work. It can be any ANSI SQL compliant DBMS.

    The app is working fine with MySQL, and this is my preferred database. I distribute my app without a database, and my customer is supposed to install any supported DBMS and create an ODBC connection.

     

    Does anyone know if my customer needs to buy a license if he/she chooses MySQL ?

     

    I asked this question to the comercial department of MySQL AB, but they didn\'t answer.

     

    Thanks

  2. Hi,

    I have a table with the fields \"id\", \"value\", \"value_on_nick\" and \"value_of_nick\", and some rows that look like:

    
    |   id  | value | value_on_nick | value_off_nick |
    
    |-------|-------|---------------|----------------|
    
    | item1 |   0   |    abnormal   |      normal    |
    
    | item2 |   1   |      cold     |       hot      |
    
    

     

    Is it possible to create a query that will return the item id and the nick corresponding to the value ? Like

     

    
    |   id  |  nick  |
    
    |-------|--------|
    
    | item1 | normal |
    
    | item2 |  cold  |
    
    

     

    Thanks!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.