⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 float.sql.out

📁 关系型数据库 Postgresql 6.5.2
💻 OUT
字号:
QUERY: create table fl (x float4);QUERY: insert into fl values ( 3.14 );QUERY: insert into fl values ( 147.0 );QUERY: insert into fl values ( 3.14 );QUERY: insert into fl values ( -3.14 );QUERY: select * from fl;x      ------ 3.14   147    3.14   -3.14  QUERY: select * from fl where x = 3.14;x     ----- 3.14  3.14  QUERY: select * from fl where x <> 3.14;x      ------ 147    -3.14  QUERY: select * from fl where x < 3.14;x      ------ -3.14  QUERY: select * from fl where x <= 3.14;x      ------ 3.14   3.14   -3.14  QUERY: select * from fl where x > 3.14;x    ---- 147  QUERY: select * from fl where x >= 3.14;x     ----- 3.14  147   3.14  QUERY: select * from fl where x = '3.14';x     ----- 3.14  3.14  QUERY: select * from fl where x <> '3.14';x      ------ 147    -3.14  QUERY: select * from fl where x < '3.14';x      ------ -3.14  QUERY: select * from fl where x <= '3.14';x      ------ 3.14   3.14   -3.14  QUERY: select * from fl where x > '3.14';x    ---- 147  QUERY: select * from fl where x >= '3.14';x     ----- 3.14  147   3.14  QUERY: select * from fl where x = '3.14'::float4;x     ----- 3.14  3.14  QUERY: select * from fl where x <> '3.14'::float4;x      ------ 147    -3.14  QUERY: select * from fl where x < '3.14'::float4;x      ------ -3.14  QUERY: select * from fl where x <= '3.14'::float4;x      ------ 3.14   3.14   -3.14  QUERY: select * from fl where x > '3.14'::float4;x    ---- 147  QUERY: select * from fl where x >= '3.14'::float4;x     ----- 3.14  147   3.14  QUERY: select * from fl where x = '3.14'::float8;x     ----- 3.14  3.14  QUERY: select * from fl where x <> '3.14'::float8;x      ------ 147    -3.14  QUERY: select * from fl where x < '3.14'::float8;x      ------ -3.14  QUERY: select * from fl where x <= '3.14'::float8;x      ------ 3.14   3.14   -3.14  QUERY: select * from fl where x > '3.14'::float8;x    ---- 147  QUERY: select * from fl where x >= '3.14'::float8;x     ----- 3.14  147   3.14  QUERY: update fl set x = x + 2.2;QUERY: select * from fl;x      ------ 5.34   149.2  5.34   -0.94  QUERY: update fl set x = x - 2.2;QUERY: select * from fl;x      ------ 3.14   147    3.14   -3.14  QUERY: update fl set x = x * 2.2;QUERY: select * from fl;x       ------- 6.908   323.4   6.908   -6.908  QUERY: update fl set x = x / 2.2;QUERY: select * from fl;x      ------ 3.14   147    3.14   -3.14  QUERY: create table fl8 (y float8);QUERY: insert into fl8 values ( '3.14'::float8 );QUERY: insert into fl8 values ( '147.0'::float8 );QUERY: insert into fl8 values ( '3.140000001'::float8 );QUERY: insert into fl8 values ( '-3.14'::float8);QUERY: select * from fl8;y            ------------ 3.14         147          3.140000001  -3.14        QUERY: select * from fl8 where y = 3.14;y            ------------ 3.14         3.140000001  QUERY: select * from fl8 where y <> 3.14;y      ------ 147    -3.14  QUERY: select * from fl8 where y < 3.14;y      ------ -3.14  QUERY: select * from fl8 where y <= 3.14;y            ------------ 3.14         3.140000001  -3.14        QUERY: select * from fl8 where y > 3.14;y    ---- 147  QUERY: select * from fl8 where y >= 3.14;y            ------------ 3.14         147          3.140000001  QUERY: select * from fl8 where y = '3.14';y     ----- 3.14  QUERY: select * from fl8 where y <> '3.14';y            ------------ 147          3.140000001  -3.14        QUERY: select * from fl8 where y < '3.14';y      ------ -3.14  QUERY: select * from fl8 where y <= '3.14';y      ------ 3.14   -3.14  QUERY: select * from fl8 where y > '3.14';y            ------------ 147          3.140000001  QUERY: select * from fl8 where y >= '3.14';y            ------------ 3.14         147          3.140000001  QUERY: select * from fl8 where y = '3.14'::float4;y            ------------ 3.14         3.140000001  QUERY: select * from fl8 where y <> '3.14'::float4;y      ------ 147    -3.14  QUERY: select * from fl8 where y < '3.14'::float4;y      ------ -3.14  QUERY: select * from fl8 where y <= '3.14'::float4;y            ------------ 3.14         3.140000001  -3.14        QUERY: select * from fl8 where y > '3.14'::float4;y    ---- 147  QUERY: select * from fl8 where y >= '3.14'::float4;y            ------------ 3.14         147          3.140000001  QUERY: select * from fl8 where y = '3.14'::float8;y     ----- 3.14  QUERY: select * from fl8 where y <> '3.14'::float8;y            ------------ 147          3.140000001  -3.14        QUERY: select * from fl8 where y < '3.14'::float8;y      ------ -3.14  QUERY: select * from fl8 where y <= '3.14'::float8;y      ------ 3.14   -3.14  QUERY: select * from fl8 where y > '3.14'::float8;y            ------------ 147          3.140000001  QUERY: select * from fl8 where y >= '3.14'::float8;y            ------------ 3.14         147          3.140000001  QUERY: update fl8 set y = y + '2.2'::float8;QUERY: select * from fl8;y            ------------ 5.34         149.2        5.340000001  -0.94        QUERY: update fl8 set y = y - '2.2'::float8;QUERY: select * from fl8;y            ------------ 3.14         147          3.140000001  -3.14        QUERY: update fl8 set y = y * '2.2'::float8;QUERY: select * from fl8;y             ------------- 6.908         323.4         6.9080000022  -6.908        QUERY: update fl8 set y = y / '2.2'::float8;QUERY: select * from fl8;y            ------------ 3.14         147          3.140000001  -3.14        QUERY: drop table fl;QUERY: drop table fl8;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -