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 ...
720
53
convert string to date sqlSQL
Click to see more ...
636
42
How to get the last record from table using sql ?SQL
Click to see more ...
550
33
create table sqlSQL
Click to see more ...
328
23
How use like using sql ?SQL
Click to see more ...
408
22
How to get the last 10 records using mysql ?SQL
Click to see more ...
302
21
rows to columns sqlSQL
Click to see more ...
257
17
insert new column into table sqlSQL
Click to see more ...
258
16
How to convert the values to lowercase using sql ?SQL
Click to see more ...
278
13
How to change a negative number to positive using sql ?SQL
Click to see more ...
214
11