MySQL Forums
Forum List  »  German

Re: [Anfänger] Wert eines benachbarten Feldes abfragen
Posted by: Uli Kempter
Date: March 04, 2012 04:00PM

> wie soll nun
> das gewünschte Ergebnis aussehen (anhand dieser
> Beispieldaten)?

Hallo Thomas,

ich stelle mal die komplette Tabelle dar ...

+-------+---------+---------------------------------------------------+
|name   | type    | form                                              |
+-------+---------+---------------------------------------------------+
|link1  |link     | feld 1 <txp:link /><br /><txp:link_description /> |
|link2  |link     | feld 2 <txp:link /><br /><txp:link_description /> |
|link3  |link     | feld 3 <txp:link /><br /><txp:link_description /> |
+-------+---------+---------------------------------------------------+

... denn darin ist der Name, und den brauchte ich als Ergebnis. Eine Anfrage an eine Zelle in der Spalte "form" (hier als Beispiel mal Feld 3) müsste als Ergebnis also "link 3" bringen. Nur sind die Inhalte in der Spalte "form" nicht so vorhersehbar wie hier (aber das ahnt man ja).

Viele Grüße
Uli



Edited 1 time(s). Last edit at 03/04/2012 04:05PM by Uli Kempter.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.