Sql查询语句中,添加表中不存在的列并设定列的固定值

select id,'value' extra from table

table表中,新增列 extra 的值固定为 value




你可能感兴趣的:(sql)