how to split price column by dot in sql into 2 columns?

后端 未结 0 1100
眼角桃花
眼角桃花 2021-01-30 07:42

the table of books has title, author, price. The price is like "56.23". I need to split it into 2 columns - dollars, cents.

select author, title , subst         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题