How can I keep only a specific set of columns and remove all others?

3 vues

Réponse

You can use the `keep` parameter, providing a list of the column names that you wish to retain in the table. All other columns will be dropped.
Did this answer help you?
alterTable

table

See technical action