statement

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • replay

    #1

    statement

    hi together

    i need to write an sql statement which follows a recursive dependency.
    but i just dont get it to work as i want...:-) on the links at the
    bottom is a graphical explanation of the table definition and how i want
    to use it.

    now i need a query with a where. for example, select all torrents which
    are in category xy or in a subcategory of xy.

    i know it would be easy to get a working solution with stored
    procedures. but it would be much nicer to have it in one query.





    thanks for help


    replay



    --

    visit: http://www.h4xx0r.ch
  • replay

    #2
    Re: statement

    maybe it would be helpful if you have my db to test...:-)



    thanks


    replay wrote:[color=blue]
    > hi together
    >
    > i need to write an sql statement which follows a recursive dependency.
    > but i just dont get it to work as i want...:-) on the links at the
    > bottom is a graphical explanation of the table definition and how i want
    > to use it.
    >
    > now i need a query with a where. for example, select all torrents which
    > are in category xy or in a subcategory of xy.
    >
    > i know it would be easy to get a working solution with stored
    > procedures. but it would be much nicer to have it in one query.
    >
    > http://www.h4xx0r.ch/db.jpg
    > http://www.h4xx0r.ch/tree.jpg
    >
    >
    > thanks for help
    >
    >
    > replay
    >
    >
    >[/color]


    --

    visit: http://www.h4xx0r.ch

    Comment

    Working...