Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
20
Task/Arithmetic-Integer/SQL/arithmetic-integer.sql
Normal file
20
Task/Arithmetic-Integer/SQL/arithmetic-integer.sql
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
-- test.sql
|
||||
-- Tested in SQL*plus
|
||||
|
||||
drop table test;
|
||||
|
||||
create table test (a integer, b integer);
|
||||
|
||||
insert into test values ('&&A','&&B');
|
||||
|
||||
commit;
|
||||
|
||||
select a-b difference from test;
|
||||
|
||||
select a*b product from test;
|
||||
|
||||
select trunc(a/b) integer_quotient from test;
|
||||
|
||||
select mod(a,b) remainder from test;
|
||||
|
||||
select power(a,b) exponentiation from test;
|
||||
Loading…
Add table
Add a link
Reference in a new issue