Skip to content
Advertisement

Tag: sql

Split String and Count Teradata SQL

I would like to split column ‘ASPCT_VLU_NM’ and count of occurrences of the timestamps in a given time frame. For example return the ID which have more than 3 occurrence in between 1537160520286 and 1537190520286. In the example below those are the timestamps : Answer If you are using Teradata 14 or later, then you may take advantage of the

Find IDs and names of students who took CS-101 and did not take CS-319

Can someone help with this homework problem: Find IDs and names of students who took CS-101 and did not take CS-319. These are the two tables that I can use for this assignment: I tried this but was unable to successfully exclude the students who who took “CS-319” Answer There are at least three separate ways to solve this problem

Advertisement