Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crosstab query in Teradata (nothing to Sum)

Status
Not open for further replies.

Picard012

Programmer
Apr 25, 2008
8
US
Good afternoon. I am trying to create a crosstab query in Teradata, but virtually everything I see online states to use a PIVOT with SUM. I have nothing to sum, and it doesn't allow for nulls.

Basically I am trying to do the following:

Customer Coverage --> Customer Dental Medical
-------- -------- -------- ------ -------
John Doe Dental John Doe X X
Joe Jones Medical Jane Doe X X
John Doe Medical Matt Smith X
Jane Doe Dental Joe Jones X
Jane Doe Dental
Matt Smith Dental

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top