Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
0b8c00da
Commit
0b8c00da
authored
Jul 25, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4443 from xBazilio/patch-2
Corrected table name
parents
77e4a80e
d1031e21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
start-databases.md
docs/guide/start-databases.md
+10
-10
No files found.
docs/guide/start-databases.md
View file @
0b8c00da
...
...
@@ -32,16 +32,16 @@ CREATE TABLE `country` (
`population`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
`
C
ountry`
VALUES
(
'AU'
,
'Australia'
,
18886000
);
INSERT
INTO
`
C
ountry`
VALUES
(
'BR'
,
'Brazil'
,
170115000
);
INSERT
INTO
`
C
ountry`
VALUES
(
'CA'
,
'Canada'
,
1147000
);
INSERT
INTO
`
C
ountry`
VALUES
(
'CN'
,
'China'
,
1277558000
);
INSERT
INTO
`
C
ountry`
VALUES
(
'DE'
,
'Germany'
,
82164700
);
INSERT
INTO
`
C
ountry`
VALUES
(
'FR'
,
'France'
,
59225700
);
INSERT
INTO
`
C
ountry`
VALUES
(
'GB'
,
'United Kingdom'
,
59623400
);
INSERT
INTO
`
C
ountry`
VALUES
(
'IN'
,
'India'
,
1013662000
);
INSERT
INTO
`
C
ountry`
VALUES
(
'RU'
,
'Russia'
,
146934000
);
INSERT
INTO
`
C
ountry`
VALUES
(
'US'
,
'United States'
,
278357000
);
INSERT
INTO
`
c
ountry`
VALUES
(
'AU'
,
'Australia'
,
18886000
);
INSERT
INTO
`
c
ountry`
VALUES
(
'BR'
,
'Brazil'
,
170115000
);
INSERT
INTO
`
c
ountry`
VALUES
(
'CA'
,
'Canada'
,
1147000
);
INSERT
INTO
`
c
ountry`
VALUES
(
'CN'
,
'China'
,
1277558000
);
INSERT
INTO
`
c
ountry`
VALUES
(
'DE'
,
'Germany'
,
82164700
);
INSERT
INTO
`
c
ountry`
VALUES
(
'FR'
,
'France'
,
59225700
);
INSERT
INTO
`
c
ountry`
VALUES
(
'GB'
,
'United Kingdom'
,
59623400
);
INSERT
INTO
`
c
ountry`
VALUES
(
'IN'
,
'India'
,
1013662000
);
INSERT
INTO
`
c
ountry`
VALUES
(
'RU'
,
'Russia'
,
146934000
);
INSERT
INTO
`
c
ountry`
VALUES
(
'US'
,
'United States'
,
278357000
);
```
At this point, you have a database named
`yii2basic`
, and within it a
`country`
table with three columns, containing ten rows of data.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment