How to SELECT to remove all columns of a certain column in MySQL?
学习ing
学习ing 2017-06-30 09:53:03
0
1
1193

Because there are dozens of columns in the table, is there any simple way to SELECT to remove all columns of a certain column?

Similar to the following syntax:

SELECT * [except columnA] FROM tableA
学习ing
学习ing

reply all(1)
扔个三星炸死你

I don’t know which database has this syntax.

The key is not to know the actual meaning of this. If there are many fields, use select * to process them. If there are few fields, write the field list yourself.
If you really want to write it like this, you can only dynamically splice the sql statement with strings based on the metadata of the table.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!