declare @temp_table table
( bookID VARCHAR(10) primary key, book_price float default null, bookName varchar(50) )
insert into @temp_table values('1',50,'c#')
insert into @temp_table values('2',null ,'c')

select bookID AS '书的编号',isnull(book_price,0) as '书的价格' from @temp_table

相关文章:

  • 2022-12-23
  • 2021-06-13
  • 2021-10-14
  • 2021-08-05
猜你喜欢
  • 2021-09-02
  • 2022-12-23
  • 2021-08-08
  • 2021-08-22
  • 2022-01-12
相关资源
相似解决方案