This is a discussion on help please! within the MySQL Database forums, part of the Database Forums category; Che cosa puņ essere? Le due query che cercano sugli ingredienti(r.IDingrediente) o sui piatti(p.nomepiatto), prese separatamente ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Che cosa puņ essere? Le due query che cercano sugli
ingredienti(r.IDingrediente) o sui piatti(p.nomepiatto), prese separatamente funzionano..... Come posso metterle insieme correttamente? Grazie. Hai cercato le seguenti parole: sale - orto - Io ho utilizzato questi ingredienti....sale - sale grosso - Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\programmi\easyphp1-8\www\chefmaker\visualizza_piatto.php on line 96 Risultati della ricerca: Nessun risultato trovato: indietro Query SQL generata: SELECT * FROM ingredienti WHERE ingrediente LIKE '%sale%' OR ingrediente LIKE '%orto%' OR 0 SELECT DISTINCT nomepiatto, tipopiatto FROM (piatti p JOIN ricette r USING (IDpiatto)) WHERE ((r.IDingrediente = 32 OR r.IDingrediente = 175 OR r.IDingrediente = 0 GROUP BY r.IDpiatto HAVING COUNT(*) = 2) OR (p.nomepiatto LIKE '%sale%' AND p.nomepiatto LIKE '%orto%' AND 1)) ORDER BY p.nomepiatto |
|
|||
|
Cekko ha scritto il 02/03/2007 11:21 AM:
To all the members of ng: following notes are in italian to explain Cekko he MUST write in english, or something like this, :-) in order to eventyally obtain an answer. > Che cosa puņ essere? Questo č un gruppo internazionale e quindi, se vuoi una risposta, devi postare in inglese. :-) E attendo pure io la risposta perchč ho un problema simile. -- Esti Qatzi http://zelohim.it upd 20.01.07 ubuntu user #4898 Il Fattucchiero puņ allacciarsi le scarpe con i piedi. |