Question about select as database query.

  • I have an existing query that looks like this:

    SELECT kingshocks.[Partnumber] AS sku

    FROM kingshocks;

    What I would like to do is something like this:

    SELECT kingshocks.[Partnumber] AS sku,

    "Default" AS store,

    FROM kingshocks;

    What I mean to do is return a column called store with the word "Default" in all the rows that are returned. Does anyone know how this would be done with SQL?

    Thanks!

  • pls try beloe code

    SELECT kingshocks.[Partnumber] AS sku,

    'Default' AS store,

    FROM kingshocks

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply