Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SELECT *
FROM
Branch
GO
/*
BranchID BranchName BranchCity Assets ModifiedDate
1 Long Beach Main St
Los Angeles
50000000 3/18/09 6:30
*/
INSERT INTO [AdventureWorks2008].[dbo].[Account]
([BranchID],
[AccountNumber],
[AccountType],
[Balance])
VALUES
(1,
'1000030045235',
'PERSONAL',
6000.0)
GO
SELECT *
FROM
ACCOUNT
GO
/*
AccountID BranchID AccountNumber AccountType Balance ModifiedDate
1 1 1000030045235 PERSONAL
6/4/16 0:00 3/18/09 6:30
*/
INSERT INTO [AdventureWorks2008].[dbo].[Customer]
([Name],
[Type],
[Street],
[City],
[State],
[Zip],
[Country])
VALUES
('Robert Bullmore',
'Business Proprietor',
'113 Broadway',
'New York City',
'New York',
'10001',
'USA')
GO
SELECT *
FROM
Customer
GO
/*
CustomerID Name Type Street City State Zip Country ModifiedDate
1 Robert Bullmore
Business Proprietor 113 Broadway New York
City
New York 10001 USA 3/18/09 6:30
*/
-- Cleanup
DROP TABLE Borrower
DROP TABLE Depositor
DROP TABLE Loan
DROP TABLE Customer
DROP TABLE [Transaction]
DROP TABLE ACCOUNT
DROP TABLE Branch