Welcome aboard! We are happy you are here and wish you good net-raft!
select SIGN(-5) from table_rest; // the result is: -1
select SIGN(0) from table_rest; // the result is: 0
select SIGN(5) from table_rest; // the result is: 1
The most helpful SQL solutions
how to execute select into using sql ?SQL
Click to see more ...
708
53
convert string to date sqlSQL
Click to see more ...
621
42
How to get the last record from table using sql ?SQL
Click to see more ...
537
33
create table sqlSQL
Click to see more ...
317
23
How use like using sql ?SQL
Click to see more ...
396
22
How to get the last 10 records using mysql ?SQL
Click to see more ...
290
21
rows to columns sqlSQL
Click to see more ...
245
17
insert new column into table sqlSQL
Click to see more ...
243
16
How to convert the values to lowercase using sql ?SQL
Click to see more ...
265
13
How to change a negative number to positive using sql ?SQL
Click to see more ...
204
11