Skip to content

SELECT VALUES in Teradata

I know that it’s possible in other SQL flavors (T-SQL) to “select” provided data without a table. Like: SELECT * FROM (VALUES (1,2), (3,4)) tbl How can I do this using Teradata?

Using the OR operator in a nested SQL Statement

I have a database with vendors, what they sell and where they are located. I need to search for vendors that are based off of a specific locality like a state or for vendors who sell a certain number of products. An example of this question is: What are the full names of all vendors who can supply more than