Das ist mein TischSql bekommen bestimmte Spalte aus derselben Tabelle
-----------------------------------------------------------
id | tempname | col1 | col2 | col3 | col4 | col5 | col6
-----------------------------------------------------------
1 | 1 | on | off | off | on | off | off
-----------------------------------------------------------
2 | 2 | off | off| on | off | off | on
-----------------------------------------------------------
ich möchte Daten aus obiger Tabelle, deren Wert auf und ich möchte nicht eine andere Spalte i nur die Spalte möchten, die Wert auf
hat
Ergebnis: Das ist mein Tisch
-----------------------------------------------------------
id | tempname | col1 | col3 | col4 | col6
-----------------------------------------------------------
1 | 1 | on | off | on | off
-----------------------------------------------------------
2 | 2 | off | on | off | on
-----------------------------------------------------------
i will keine zusätzlichen Spalten und ich wollte mit Select * Abfrage tun. Ich möchte den Spaltennamen in der Select-Abfrage nicht angeben
entfernte ich die unvereinbar Datenbank-Tags. Bitte markieren Sie die Datenbank, die Sie wirklich verwenden. –
mysql. Thankx gurv –
Ich möchte so –