How can I create a blank/hardcoded column in a sql query?

前端 未结 6 870
刺人心
刺人心 2020-12-15 15:39

I want have a query with a column that is a hardcoded value not from a table, can this be done? I need it basically as a placeholder that I am going to come back to later a

6条回答
  •  渐次进展
    2020-12-15 16:29

    SELECT
        hat,
        shoe,
        boat,
        0 as placeholder
    FROM
        objects
    

    And '' as placeholder for strings.

提交回复
热议问题