#1 18. März 2006 Hallo, hier erstmal wie ich das aufgebaut habe: link_links: [id] | [name] | [outs] -------------- 1 | test | 33 2 | tesa | 54 link_zw: [link_id] | [cat_id] -------------- 1 | 1 1 | 3 1 | 4 2 | 2 link_cat: [id] | [name] -------------- 1 | movies 2 | games 3 | apps 4 | sonstiges ich möchte nun, das er in link_zw guckt, welche alle cat_id 2 haben und sie dann nach outs sortiert ausgibt. Danke, Greetz RaKo
#2 20. März 2006 Kann's gerade nicht testen... Code: select l.name, l.outs from links l where l.id in (select z.link_id from link_zw z where cat_id=2) order by l.outs asc