Quote (carteblanche @ Mar 6 2016 02:35pm)
anything in particular? here are some basic CRUD:
insert into some_table (my_column) values ('bunnies');
select * from some_table;
update some_table set my_column = "yawn";
delete from some_table;
a few general tips:
select always has to pull from a table, unlike sql-server/sqlite. there is a special table 'dual' you can use if you just wanna hard code a result with 1 row. for example, this is not correct: [select 'boo'] where this is correct [select 'boo' from dual]
you can't use the sql-server syntax for updating with joins
We are supposed to create relational databases on the ORACLE Platform
example:
R1: (First_name, Mid_init, Last_Name,
SSNo, Bdate, Gender, Address, Salary, Supssno, Dno)
Employee.[Supssno]
must be Employee[Sssno]
Employee.[Dno]
must be Department[Dept_no]
I understand how to create the table and add in the attributes and the primary key but I am a little confused on how to deal with the constraints.
Let me know if this makes any sense!