Search
⌘K

Leetcode 2885. Rename Columns

Rename the columns of the students table according to the mapping id→student_id, first→first_name, last→last_name, and age→age_in_years, returning the same rows with updated column names. This tests straightforward column renaming in SQL/DataFrame without changing the data.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.