Skip to content
Advertisement

Tag: teradata

Inserting data frames to teradata by using teradatasql package

I am using teradatasql package which native solution of Teradata as a connector between python and Teradata to load data from DB. However, I want to insert data frames I created in python back to DB. Is it possible to write data frames to the database by using teradatasql package? Thanks Answer SQLAlchemy provides the linkage between pandas dataframes and

Single column from Multiple columns from join in SQL

I have a table output like this, which is a result of multiple table joins. I am trying to get a table like this. This is what i am doing currently doing. Not sure how to make the three columns combine to a single column. Answer If you have only one value per row — or if you just want

Teradata SQL help. Need help getting the start date and end date (yellow) of the most recent employment status. Thank you

Teradata SQL help. Need help getting the start date and end date (yellow) of the most recent employment status. Thank you. Click on the question for image. Answer There are several ways to get your expected result, based on your data you might apply Teradata’s NORMALIZE option, a SQL extension to combine overlapping periods: Caution : This returns a new

Advertisement