문제

I have table with following data example table (id int, sn bigint)

id   sn
--------------------------
1    8921901414327625990
1    8921901414327625991

How can I remove the 892190 from sn?

도움이 되었습니까?

해결책

You can do it this way, using modulo:

select sn % 10000000000000 from table1
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top