Answers for "table values functions in SQL"

SQL
0

table values functions in SQL

CREATE FUNCTION udfProductInYear (
    @model_year INT
)
RETURNS TABLE
AS
RETURN
    SELECT 
        product_name,
        model_year,
        list_price
    FROM
        production.products
    WHERE
        model_year = @model_year;
Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on January-11-2022

Code answers related to "SQL"

Browse Popular Code Answers by Language