Meine Anfrage haben, ist:In einer ausgewählten gefälschte Zeilen hinzufügen, wenn ein Spalten einen specifc Wert
SELECT email,price
FROM invoice
WHERE email='[email protected]'
Ich mag würde eine gefälschte Reihe jedes Mal das Feld ‚Preis‘ für jeden zu '99 .00' gleich hinzufügen Ergebnis weiß der Wert Preis '21 .00'
Beispiel
Normales Ergebnis
Email Price
[email protected] 84,00
[email protected] 99,00
[email protected] 29,00
[email protected] 99,00
ich resul möchte t wie folgt aus:
Email Price
[email protected] 84,00
[email protected] 99,00
[email protected] 21,00
[email protected] 29,00
[email protected] 99,00
[email protected] 21,00
Möchten Sie die falsche Zeile zur Tabelle oder nur zum SELECT hinzufügen? – MontyPython
Was ist Ihr Primärschlüssel? – Strawberry
nur für wählen Sie nicht einen Einsatz – user3684020