import pandas as pd df = pd.DataFrame( data={ "col1": [1, 2, 3, 4], "col2": ['a', 'b', 'c', 'd'], } )SELECT col1 as col1_renamed, * EXCLUDE (col1) FROM dfdf