Really simple request for you guys, basically I just need a basic script displaying how I would create a database using sql. Is the langauge type between sql and mysql any different?
Lets say
Database is called SalesLedger
Table 1 is called Sales
PK is SalesID
Date
SalesPerson
ClientID (FK)
Table 2 is called Client
PK is ClientID
Address
Town
PostCode
What would the script be, to create this database, implement the fields, define the primary keys and link the two tables together?
Just need a rough model answer to work from as a base!
Thanks
Lets say
Database is called SalesLedger
Table 1 is called Sales
PK is SalesID
Date
SalesPerson
ClientID (FK)
Table 2 is called Client
PK is ClientID
Address
Town
PostCode
What would the script be, to create this database, implement the fields, define the primary keys and link the two tables together?
Just need a rough model answer to work from as a base!
Thanks