Correct form of table name
This commit is contained in:
parent
844ace05b0
commit
2a834d8a8a
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
Unsuprisingly, we will need a cookie table.
|
||||
|
||||
```sql
|
||||
CREATE TABLE cookie (
|
||||
CREATE TABLE cookies (
|
||||
cookie_id INT PRIMARY KEY,
|
||||
cookie_name VARCHAR(50) NOT NULL UNIQUE,
|
||||
);
|
||||
|
@ -16,7 +16,7 @@ CREATE TABLE cookie (
|
|||
Last i checked, a commercial bakery needs customers:
|
||||
|
||||
```sql
|
||||
CREATE TABLE customer (
|
||||
CREATE TABLE customers (
|
||||
customer_id INT PRIMARY KEY,
|
||||
customer_name VARCHAR(50) NOT NULL,
|
||||
customer_address VARCHAR(50) NOT NULL,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
--------------------------------------------
|
||||
|
||||
-- Holds the different types of cookies we can make.
|
||||
CREATE TABLE cookie (
|
||||
CREATE TABLE cookies (
|
||||
cookie_id INT PRIMARY KEY,
|
||||
cookie_name VARCHAR(50) NOT NULL UNIQUE,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue