0 оценок0% нашли этот документ полезным (0 голосов)
399 просмотров9 страниц
The document contains SQL statements that create tables for a banking database including tables for branches, customers, loans, accounts, employees, and relationships between the tables. Data is then inserted into the tables.
The document contains SQL statements that create tables for a banking database including tables for branches, customers, loans, accounts, employees, and relationships between the tables. Data is then inserted into the tables.
The document contains SQL statements that create tables for a banking database including tables for branches, customers, loans, accounts, employees, and relationships between the tables. Data is then inserted into the tables.
values('60517','Brighton','brookly','7100000'); insert into branch values('60518','downtown','brooklyn','600000'); insert into branch values('60519','perryridge','horseneek','110000'); select* from branch;
insert into customer
values('12345','Adam','spring','ryn'); insert into customer values('12389','smith','snorth','stamfort'); select* from customer;
insert into loan
values('L-16','1550.36'); insert into loan values('L-17','2000.89'); insert into loan values('L-18','6540.00'); insert into loan values('L-19','6750.00');
select* from loan;
insert into account
values('fg156','25850.25'); insert into account values('ab986','14568.25'); insert into account values('th5921','91856.25'); select* from account;
insert into employee
values('002','jon','68547','6/may/2001'); insert into employee values('086','M fellaini','68587','9/june/2002'); insert into employee values('086','W Rooney','98645','21/aug/2002');