More Related Content Similar to MYSQL 5.5 (20) More from Sunny U Okoro (20) MYSQL 5.56. 5
category
PK category_id TINYINT
name LONGVARBINARY
last_update DATETIME
city
PK city_id TINYINT
city LONGVARBINARY
FK1,I1 country_id TINYINT
last_update DATETIME
inventory
PK inventory_id INTEGER
FK1,I2,I1 film_id TINYINT
FK2,I2 store_id TINYINT
last_update DATETIME
country
PK country_id TINYINT
country LONGVARBINARY
last_update DATETIME
film
PK film_id TINYINT
I1 title LONGVARBINARY
description LONGVARBINARY
release_year TINYINT
FK1,I2 language_id TINYINT
FK2,I3 original_language_id TINYINT
rental_duration TINYINT
rental_rate DECIMAL(4,2)
length TINYINT
replacement_cost DECIMAL(5,2)
rating LONGVARBINARY
special_features LONGVARBINARY
last_update DATETIME
staff
PK staff_id TINYINT
first_name LONGVARBINARY
last_name LONGVARBINARY
FK1,I2 address_id TINYINT
picture LONGVARBINARY
email LONGVARBINARY
FK2,I1 store_id TINYINT
active TINYINT
username LONGVARBINARY
password LONGVARBINARY
last_update DATETIME
language
PK language_id TINYINT
name LONGVARBINARY
last_update DATETIME
actor
PK actor_id TINYINT
first_name LONGVARBINARY
I1 last_name LONGVARBINARY
last_update DATETIME
payment
PK payment_id TINYINT
FK1,I2 customer_id TINYINT
FK3,I1 staff_id TINYINT
FK2,I3 rental_id INTEGER
amount DECIMAL(5,2)
payment_date DATETIME
last_update DATETIME
customer
PK customer_id TINYINT
FK2,I1 store_id TINYINT
first_name LONGVARBINARY
I3 last_name LONGVARBINARY
email LONGVARBINARY
FK1,I2 address_id TINYINT
active TINYINT
create_date DATETIME
last_update DATETIME
address
PK address_id TINYINT
address LONGVARBINARY
address2 LONGVARBINARY
district LONGVARBINARY
FK1,I1 city_id TINYINT
postal_code LONGVARBINARY
phone LONGVARBINARY
last_update DATETIME
store
PK store_id TINYINT
FK2,U1 manager_staff_id TINYINT
FK1,I1 address_id TINYINT
last_update DATETIME
film_actor
PK,FK1 actor_id TINYINT
PK,FK2,I1 film_id TINYINT
last_update DATETIME
rental
PK rental_id INTEGER
U1 rental_date DATETIME
FK2,I1,U1 inventory_id INTEGER
FK1,I2,U1 customer_id TINYINT
return_date DATETIME
FK3,I3 staff_id TINYINT
last_update DATETIME
film_category
PK,FK2 film_id TINYINT
PK,FK1,I1 category_id TINYINT
last_update DATETIME
7. 6
Built-In-Function
Date Functions
mysql>
mysql> select date_format(current_timestamp,'%M-%e-%Y');
+-------------------------------------------+
| date_format(current_timestamp,'%M-%e-%Y') |
+-------------------------------------------+
| February-22-2013 |
+-------------------------------------------+
1 row in set (0.00 sec)
mysql> select date_format(current_timestamp,'%M-%e-%Y')AS CurrentDate G
*************************** 1. row ***************************
CurrentDate: February-22-2013
1 row in set (0.00 sec)
mysql> select date_format(current_timestamp,'%M-%e-%Y')AS CurrentDate g
+------------------+
| CurrentDate |
+------------------+
| February-22-2013 |
+------------------+
1 row in set (0.00 sec)
mysql> SELECT date_format(current_timestamp,'%h:%i')as CurrentTime;
+-------------+
| CurrentTime |
8. 7
+-------------+
| 11:49 |
+-------------+
1 row in set (0.00 sec)
mysql> SELECT date_format(current_timestamp,'%h:%i:%s:%p')as CurrentTime;
+-------------+
| CurrentTime |
+-------------+
| 11:49:43:PM |
+-------------+
1 row in set (0.00 sec)
mysql> select date_format(current_timestamp,'%M-%e-%Y-%h:%i:%s:%p')as 'CurrDateTime';
+------------------------------+
| CurrDateTime |
+------------------------------+
| February-22-2013-11:58:08:PM |
+------------------------------+
1 row in set (0.00 sec)
mysql> select week(current_timestamp);
+-------------------------+
| week(current_timestamp) |
+-------------------------+
| 7 |
+-------------------------+
1 row in set (0.00 sec)
mysql> SELECT TO_DAYS(CURRENT_TIMESTAMP);
+----------------------------+
| TO_DAYS(CURRENT_TIMESTAMP) |
+----------------------------+
| 735287 |
9. 8
+----------------------------+
1 row in set (0.06 sec)
mysql> SET @D=(SELECT CURRENT_TIMESTAMP)
-> ;
Query OK, 0 rows affected (0.00 sec)
mysql> SELECT LAST_DAY(@D);
+--------------+
| LAST_DAY(@D) |
+--------------+
| 2013-02-28 |
+--------------+
1 row in set (0.01 sec)
mysql> SELECT DATEDIFF(@D, LAST_UPDATE)AS DATE_DIFFERENCE,COUNTRY, LAST_UPDATE, @D FROM COUNTRY G
*************************** 1. row ***************************
DATE_DIFFERENCE: 2565
COUNTRY: Afghanistan
LAST_UPDATE: 2006-02-15 04:44:00
@D: 2013-02-23 00:05:46
*************************** 2. row ***************************
DATE_DIFFERENCE: 2565
COUNTRY: Algeria
LAST_UPDATE: 2006-02-15 04:44:00
@D: 2013-02-23 00:05:46
*************************** 3. row ***************************
DATE_DIFFERENCE: 2565
COUNTRY: American Samoa
LAST_UPDATE: 2006-02-15 04:44:00
@D: 2013-02-23 00:05:46
*************************** 4. row ***************************
10. 9
mysql> SELECT LAST_DAY( LAST_UPDATE)AS DATE_DIFFERENCE,COUNTRY, LAST_UPDATE FROM COUNTRY G;
*************************** 1. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: Afghanistan
LAST_UPDATE: 2006-02-15 04:44:00
*************************** 2. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: Algeria
LAST_UPDATE: 2006-02-15 04:44:00
*************************** 3. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: American Samoa
LAST_UPDATE: 2006-02-15 04:44:00
*************************** 4. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: Angola
LAST_UPDATE: 2006-02-15 04:44:00
*************************** 5. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: Anguilla
LAST_UPDATE: 2006-02-15 04:44:00
*************************** 6. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: Argentina
LAST_UPDATE: 2006-02-15 04:44:00
*************************** 7. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: Armenia
LAST_UPDATE: 2006-02-15 04:44:00
*************************** 8. row ***************************
DATE_DIFFERENCE: 2006-02-28
COUNTRY: Australia
LAST_UPDATE: 2006-02-15 04:44:00
11. 10
*************************** 9. row ***************************
mysql> SELECT DATE(@D)AS CURR_DATE;
+------------+
| CURR_DATE |
+------------+
| 2013-02-23 |
+------------+
1 row in set (0.00 sec)
mysql> SELECT FROM_DAYS(@D);
+---------------+
| FROM_DAYS(@D) |
+---------------+
| 0005-07-06 |
+---------------+
1 row in set (0.02 sec)
String Functions
select character_length(country) as CharLength, Country from country order by country desc
CharLength Country
11 Afghanistan
7 Algeria
14 American Samoa
6 Angola
8 Anguilla
9 Argentina
7 Armenia
9 Australia
7 Austria
10 Azerbaijan
12. 11
7 Bahrain
10 Bangladesh
7 Belarus
7 Bolivia
6 Brazil
6 Brunei
8 Bulgaria
8 Cambodia
8 Cameroon
6 Canada
4 Chad
5 Chile
5 China
8 Colombia
37
Congo, The Democratic
Republic of the
14 Czech Republic
18 Dominican Republic
7 Ecuador
5 Egypt
7 Estonia
8 Ethiopia
13 Faroe Islands
7 Finland
6 France
13 French Guiana
16 French Polynesia
6 Gambia
RESULTS (ABRIDGED)
13. 12
select c.customer_id, c.store_id, CONCAT_WS (',',c.last_name, c.first_name) as Cust_Name ,
a.address, a.address2,a.phone, t.city,a.postal_code, con.country
from customer c
inner join
address a
on c.address_id = a.address_id
inner join
city t
on a.city_id = t.city_id
inner join country con
on t.country_id = con.country_id
order by c.last_name,c.first_name
customer_id store_id Cust_Name address address2 phone city postal_code country
96 1 ALEXANDER,DIANA 1308 Arecibo Way 6171054059 Augusta-
Richmond
County
30695 United
States
345 1 ARTIS,CARL 1628 Nagareyama
Lane
20064292617 San Lorenzo 60079 Paraguay
79 1 BARNES,RACHEL 586 Tete Way 18581624103 Kamakura 1079 Japan
134 1 BOYD,EMMA 765 Southampton
Drive
23712411567 Qalyub 4285 Egypt
5 1 BROWN,ELIZABETH 53 Idfu Parkway 10655648674 Nantou 42399 Taiwan
95 2 BRYANT,PAULA 1697 Tanauan Lane 4764773857 Pathankot 22870 India
290 1 CHAMBERS,KRISTINA 544 Tarsus
Boulevard
892523334 Valle de la
Pascua
53145 Venezuela
535 1 ELROD,JAVIER 195 Ilorin Street 8912935608 NDjamna 49250 Chad
29 2 HERNANDEZ,ANGELA 786 Aurora Avenue 18461860151 Shimonoseki 65750 Japan
490 1 MCDUFFIE,SAM 656 Matamoros Drive 17305839123 Sogamoso 19489 Colombia
14. 13
229 1 NGUYEN,TAMARA 356 Olomouc Manor 22326410776 Anpolis 93323 Brazil
575 2 OGLESBY,ISAAC 186 Skikda Lane 14465669789 Cuernavaca 89422 Mexico
416 2 PINSON,JEFFERY 966 Arecibo Loop 15273765306 Dadu 94018 Pakistan
140 1 RAMOS,EVA 1666 Beni-Mellal
Place
9099941466 Clarksville 13377 United
States
61 2 RIVERA,KATHERINE 915 Ponce Place 1395251317 Basel 83980 Switzerland
404 2 SCROGGINS,STANLEY 1266 Laredo
Parkway
1483365694 Omiya 7664 Japan
RESULTS (ABRIDGED)
select c.customer_id, c.store_id, CONCAT(c.last_name,',', c.first_name) as Cust_Name ,
a.address, a.address2,a.phone, t.city,a.postal_code, con.country
from customer c
inner join
address a
on c.address_id = a.address_id
inner join
city t
on a.city_id = t.city_id
inner join country con
on t.country_id = con.country_id
order by c.last_name,c.first_name
customer_id store_id Cust_Name address address2 phone city postal_code country
96 1 ALEXANDER,DIANA 1308 Arecibo Way 6171054059 Augusta-
Richmond
County
30695 United
States
345 1 ARTIS,CARL 1628 Nagareyama
Lane
20064292617 San Lorenzo 60079 Paraguay
15. 14
79 1 BARNES,RACHEL 586 Tete Way 18581624103 Kamakura 1079 Japan
134 1 BOYD,EMMA 765 Southampton
Drive
23712411567 Qalyub 4285 Egypt
5 1 BROWN,ELIZABETH 53 Idfu Parkway 10655648674 Nantou 42399 Taiwan
95 2 BRYANT,PAULA 1697 Tanauan Lane 4764773857 Pathankot 22870 India
290 1 CHAMBERS,KRISTINA 544 Tarsus
Boulevard
892523334 Valle de la
Pascua
53145 Venezuela
535 1 ELROD,JAVIER 195 Ilorin Street 8912935608 NDjamna 49250 Chad
29 2 HERNANDEZ,ANGELA 786 Aurora Avenue 18461860151 Shimonoseki 65750 Japan
490 1 MCDUFFIE,SAM 656 Matamoros Drive 17305839123 Sogamoso 19489 Colombia
229 1 NGUYEN,TAMARA 356 Olomouc Manor 22326410776 Anpolis 93323 Brazil
575 2 OGLESBY,ISAAC 186 Skikda Lane 14465669789 Cuernavaca 89422 Mexico
416 2 PINSON,JEFFERY 966 Arecibo Loop 15273765306 Dadu 94018 Pakistan
140 1 RAMOS,EVA 1666 Beni-Mellal
Place
9099941466 Clarksville 13377 United
States
61 2 RIVERA,KATHERINE 915 Ponce Place 1395251317 Basel 83980 Switzerland
404 2 SCROGGINS,STANLEY 1266 Laredo
Parkway
1483365694 Omiya 7664 Japan
RESULTS (ABRIDGED)
mysql> SELECT GROUP_CONCAT(COUNTRY) FROM COUNTRY LIMIT 1;
| GROUP_CONCAT(COUNTRY)
|
| Afghanistan,Algeria,American
Samoa,Angola,Anguilla,Argentina,Armenia,Australia,Austria,Azerbaijan,Bahrain,Bangladesh,Belarus,Bolivia,Brazil,Brunei,Bulgaria,Cambodia,Cam
eroon,Canada,Chad,Chile,China,Colombia,Congo, The Democratic Republic of the,Czech Republic,Dominican
Republic,Ecuador,Egypt,Estonia,Ethiopia,Faroe Islands,Finland,France,French Guiana,French Polynesia,Gambia,Germany,Greece,Greenland,Holy
See (Vatican City State),Hong
Kong,Hungary,India,Indonesia,Iran,Iraq,Israel,Italy,Japan,Kazakstan,Kenya,Kuwait,Latvia,Liechtenstein,Lithuania,Madagascar,Malawi,Malaysia,M
exico,Moldova,Morocco,Mozambique,Myanmar,Nauru,Nepal,Netherlands,New Zealand,Nigeria,North
Korea,Oman,Pakistan,Paraguay,Peru,Philippines,Poland,Puerto Rico,Romania,Runion,Russian Federation,Saint Vincent and the Grenadines,Saudi
16. 15
Arabia,Senegal,Slovakia,South Africa,South Korea,Spain,Sri
Lanka,Sudan,Sweden,Switzerland,Taiwan,Tanzania,Thailand,Tonga,Tunisia,Turkey,Turkmenistan,Tuvalu,Ukraine,United Arab Emirates,United
Kingdom,United States,Vene |
+1 row in set, 1 warning (0.00 sec)
select upper(country) as uppercase,lower(country)as lowercase from country
uppercase lowercase
AFGHANISTAN afghanistan
ALGERIA algeria
AMERICAN SAMOA american samoa
ANGOLA angola
ANGUILLA anguilla
ARGENTINA argentina
ARMENIA armenia
AUSTRALIA australia
AUSTRIA austria
AZERBAIJAN azerbaijan
BAHRAIN bahrain
BANGLADESH bangladesh
BELARUS belarus
BOLIVIA bolivia
BRAZIL brazil
BRUNEI brunei
BULGARIA bulgaria
CAMBODIA cambodia
CAMEROON cameroon
17. 16
CANADA canada
RESULTS (ABRIDGED)
SELECT COUNTRY AS COUNTRY_NAME, CASE
WHEN CHARACTER_LENGTH(COUNTRY <= 6) THEN LPAD(COUNTRY,4,4)
WHEN CHARACTER_LENGTH(COUNTRY <=10) THEN LPAD(COUNTRY,6,6)
WHEN CHARACTER_LENGTH(COUNTRY <=15) THEN LPAD(COUNTRY,5,5)
WHEN CHARACTER_LENGTH(COUNTRY <=20) THEN LPAD(COUNTRY,7,7)
END AS COUNTRY
FROM COUNTRY
COUNTRY_NAME COUNTRY
Afghanistan Afgh
Algeria Alge
American Samoa Amer
Angola Ango
Anguilla Angu
Argentina Arge
Armenia Arme
Australia Aust
Austria Aust
Azerbaijan Azer
Bahrain Bahr
Bangladesh Bang
Belarus Bela
Bolivia Boli
18. 17
Brazil Braz
Brunei Brun
Bulgaria Bulg
Cambodia Camb
Cameroon Came
Canada Cana
Chad Chad
Chile Chil
China Chin
Colombia Colo
Czech Republic Czec
Dominican Republic Domi
Ecuador Ecua
Egypt Egyp
Estonia Esto
Ethiopia Ethi
Faroe Islands Faro
Finland Finl
France Fran
French Guiana Fren
French Polynesia Fren
Gambia Gamb
Germany Germ
Greece Gree
Holy See (Vatican City
State)
Holy
Hong Kong Hong
Hungary Hung
India Indi
Indonesia Indo
Iran Iran
19. 18
Iraq Iraq
Israel Isra
Italy Ital
Japan Japa
Kazakstan Kaza
Kenya Keny
Kuwait Kuwa
Latvia Latv
Liechtenstein Liec
Lithuania Lith
Madagascar Mada
Malawi Mala
Malaysia Mala
Mexico Mexi
Moldova Mold
Morocco Moro
Mozambique Moza
Myanmar Myan
Nauru Naur
Nepal Nepa
Netherlands Neth
New Zealand New
Nigeria Nige
North Korea Nort
Oman Oman
Pakistan Paki
Paraguay Para
Peru Peru
Philippines Phil
Poland Pola
Puerto Rico Puer
20. 19
Romania Roma
Runion Runi
Russian Federation Russ
Saint Vincent and the
Grenadines
Sain
Saudi Arabia Saud
Senegal Sene
Slovakia Slov
South Africa Sout
South Korea Sout
Spain Spai
Sri Lanka Sri
Sudan Suda
Sweden Swed
Switzerland Swit
Taiwan Taiw
Tanzania Tanz
Thailand Thai
Tonga Tong
Tunisia Tuni
Turkey Turk
Turkmenistan Turk
Tuvalu Tuva
Ukraine Ukra
United Arab Emirates Unit
United Kingdom Unit
United States Unit
Venezuela Vene
Vietnam Viet
Virgin Islands, U.S. Virg
Yemen Yeme
21. 20
Yugoslavia Yugo
Zambia Zamb
RESULTS (ABRIDGED)
mysql> SELECT MIN(CHARACTER_LENGTH(COUNTRY)) AS SmallestChar,Max(character_length(country))as HighestChar FROM COUNTRY;
+--------------+-------------+
| SmallestChar | HighestChar |
+--------------+-------------+
| 4 | 37 |
+--------------+-------------+
1 row in set (0.00 sec)
SELECT COUNTRY AS COUNTRY_NAME, CASE
WHEN CHARACTER_LENGTH(COUNTRY <= 6) THEN RPAD(COUNTRY,4,4)
WHEN CHARACTER_LENGTH(COUNTRY <=10) THEN RPAD(COUNTRY,6,9)
WHEN CHARACTER_LENGTH(COUNTRY <=15) THEN RPAD(COUNTRY,5,10)
WHEN CHARACTER_LENGTH(COUNTRY <=20) THEN RPAD(COUNTRY,7,10)
END AS COUNTRY
FROM COUNTRY
COUNTRY_NAME COUNTRY
Afghanistan Afgh
Algeria Alge
American Samoa Amer
Angola Ango
Anguilla Angu
Argentina Arge
Armenia Arme
22. 21
Australia Aust
Austria Aust
Azerbaijan Azer
Bahrain Bahr
Bangladesh Bang
Belarus Bela
Bolivia Boli
Brazil Braz
Brunei Brun
Bulgaria Bulg
Cambodia Camb
Cameroon Came
Canada Cana
Chad Chad
Chile Chil
China Chin
Colombia Colo
Congo, The Democratic Republic of
the
Cong
Czech Republic Czec
Dominican Republic Domi
Ecuador Ecua
Egypt Egyp
Estonia Esto
Ethiopia Ethi
Faroe Islands Faro
Finland Finl
France Fran
French Guiana Fren
French Polynesia Fren
Gambia Gamb
23. 22
Germany Germ
Greece Gree
Greenland Gree
Holy See (Vatican City State) Holy
Hong Kong Hong
Hungary Hung
India Indi
Indonesia Indo
Iran Iran
Iraq Iraq
Israel Isra
Italy Ital
Japan Japa
Kazakstan Kaza
Kenya Keny
Kuwait Kuwa
Latvia Latv
Liechtenstein Liec
Lithuania Lith
Madagascar Mada
Malawi Mala
Malaysia Mala
Mexico Mexi
Moldova Mold
Morocco Moro
Mozambique Moza
Myanmar Myan
Nauru Naur
Nepal Nepa
Netherlands Neth
New Zealand New
24. 23
Nigeria Nige
North Korea Nort
Oman Oman
Pakistan Paki
Paraguay Para
Peru Peru
Philippines Phil
Poland Pola
Puerto Rico Puer
Romania Roma
Runion Runi
Russian Federation Russ
Saint Vincent and the Grenadines Sain
Saudi Arabia Saud
Senegal Sene
Slovakia Slov
South Africa Sout
South Korea Sout
Spain Spai
Sri Lanka Sri
Sudan Suda
Sweden Swed
Switzerland Swit
RESULTS (ABRIDGED)
SELECT LPAD(CUSTOMER_ID,9,'*****') AS CUSTID, LAST_NAME, FIRST_NAME FROM CUSTOMER;
CUSTID LAST_NAME FIRST_NAME
********1 SMITH Sam
25. 24
********2 JOHNSON PATRICIA
********3 WILLIAMS LINDA
********4 JONES BARBARA
********5 BROWN ELIZABETH
********6 DAVIS JENNIFER
********7 MILLER MARIA
********8 WILSON SUSAN
********9 MOORE MARGARET
*******10 TAYLOR DOROTHY
*******11 ANDERSON LISA
*******12 THOMAS NANCY
*******13 JACKSON KAREN
*******14 WHITE BETTY
*******15 HARRIS HELEN
*******16 MARTIN SANDRA
*******17 THOMPSON DONNA
*******18 GARCIA CAROL
*******19 MARTINEZ RUTH
*******20 ROBINSON SHARON
*******21 CLARK MICHELLE
RESULTS (ABRIDGED)
SELECT SUBSTRING(LPAD(CUSTOMER_ID,12,'***'),9,9)AS CUST_ID, FIRST_NAME,LAST_NAME FROM CUSTOMER
CUST_ID FIRST_NAME LAST_NAME
***1 Sam SMITH
***2 PATRICIA JOHNSON
***3 LINDA WILLIAMS
***4 BARBARA JONES
26. 25
***5 ELIZABETH BROWN
***6 JENNIFER DAVIS
***7 MARIA MILLER
***8 SUSAN WILSON
**16 SANDRA MARTIN
**23 SARAH LEWIS
**24 KIMBERLY LEE
**63 ASHLEY RICHARDSON
**64 JUDITH COX
*108 TRACY COLE
*109 EDNA WEST
*110 TIFFANY JORDAN
*111 CARMEN OWENS
*112 ROSA REYNOLDS
RESULTS (ABRIDGED)
Numeric Functions
select c.customer_id, first_name,last_name, p.amount,round(p.amount)as roundedamount from customer c inner join payment p on
c.customer_id =p.customer_id ;
customer_id first_name last_name amount roundedamount
1 Sam SMITH 4.99 5
1 Sam SMITH 4.99 5
1 Sam SMITH 4.99 5
1 Sam SMITH 4.99 5
1 Sam SMITH 4.99 5
1 Sam SMITH 4.99 5
1 Sam SMITH 4.99 5
27. 26
RESULTS (ABRIDGED)
select c.customer_id, first_name,last_name, round(avg(p.amount)) as Avg_Amount, Max(p.amount) Highest_Amount, Min(p.amount) as
Snallest_Amount,round(sum(p.amount))as rounded_amount from customer c inner join payment p on c.customer_id =p.customer_id group by
c.customer_id
*************************** 1. row ***************************
customer_id: 1
first_name: MARY
last_name: SMITH
Avg_Amount: 4
Highest_Amount: 9.99
Snallest_Amount: 0.99
1 Sam SMITH 4.99 5
2 PATRICIA JOHNSON 4.99 5
2 PATRICIA JOHNSON 4.99 5
2 PATRICIA JOHNSON 4.99 5
2 PATRICIA JOHNSON 4.99 5
2 PATRICIA JOHNSON 4.99 5
2 PATRICIA JOHNSON 4.99 5
3 LINDA WILLIAMS 4.99 5
3 LINDA WILLIAMS 4.99 5
3 LINDA WILLIAMS 4.99 5
3 LINDA WILLIAMS 4.99 5
3 LINDA WILLIAMS 4.99 5
3 LINDA WILLIAMS 4.99 5
4 BARBARA JONES 4.99 5
4 BARBARA JONES 4.99 5
4 BARBARA JONES 4.99 5
5 ELIZABETH BROWN 4.99 5
28. 27
rounded_amount: 119
*************************** 2. row ***************************
customer_id: 2
first_name: PATRICIA
last_name: JOHNSON
Avg_Amount: 5
Highest_Amount: 10.99
Snallest_Amount: 0.99
rounded_amount: 129
*************************** 3. row ***************************
customer_id: 3
first_name: LINDA
last_name: WILLIAMS
Avg_Amount: 5
Highest_Amount: 10.99
Snallest_Amount: 0.99
rounded_amount: 136
*************************** 4. row ***************************
customer_id: 4
first_name: BARBARA
last_name: JONES
Avg_Amount: 4
Highest_Amount: 8.99
Snallest_Amount: 0.99
rounded_amount: 82
*************************** 5. row ***************************
customer_id: 5
first_name: ELIZABETH
last_name: BROWN
Avg_Amount: 4
Highest_Amount: 9.99
Snallest_Amount: 0.99
rounded_amount: 145
29. 28
mysql> select c.customer_id, first_name,last_name, amount, cos(amount), tan(amount),sin(amount) from customer c inner join payment p on
c.customer_id =p.customer_id group by c.customer_id G
*************************** 1. row ***************************
customer_id: 1
first_name: MARY
last_name: SMITH
amount: 2.99
cos(amount): -0.988531820827396
tan(amount): -0.1527646443995571
sin(amount): 0.15101271208634384
*************************** 2. row ***************************
customer_id: 2
first_name: PATRICIA
last_name: JOHNSON
amount: 4.99
cos(amount): 0.27405891954542744
tan(amount): -3.5091465186462645
sin(amount): -0.9617129034267934
*************************** 3. row ***************************
customer_id: 3
first_name: LINDA
last_name: WILLIAMS
amount: 1.99
cos(amount): -0.4070332066592655
tan(amount): -2.244075781526737
sin(amount): 0.9134133613412252
*************************** 4. row ***************************
customer_id: 4
first_name: BARBARA
last_name: JONES
amount: 4.99
cos(amount): 0.27405891954542744
tan(amount): -3.5091465186462645
sin(amount): -0.9617129034267934
30. 29
*************************** 5. row ***************************
customer_id: 5
first_name: ELIZABETH
last_name: BROWN
amount: 0.99
cos(amount): 0.5486898605815875
tan(amount): 1.5236767410179022
sin(amount): 0.8360259786005205
*************************** 6. row ***************************
customer_id: 6
first_name: JENNIFER
last_name: DAVIS
amount: 4.99
cos(amount): 0.27405891954542744
tan(amount): -3.5091465186462645
sin(amount): -0.9617129034267934
*************************** 7. row ***************************
customer_id: 7
first_name: MARIA
last_name: MILLER
amount: 5.99
cos(amount): 0.9573281701231308
tan(amount): -0.30188505822636535
sin(amount): -0.2890030703793611
*************************** 8. row ***************************
customer_id: 8
first_name: SUSAN
last_name: WILSON
amount: 6.99
cos(amount): 0.7604343160346811
tan(amount): 0.8540051902908776
sin(amount): 0.6494148527689112
31. 30
DBA Work
mysql> show columns from customer G
*************************** 1. row ***************************
Field: customer_id
Type: smallint(5) unsigned
Null: NO
Key: PRI
Default: NULL
Extra: auto_increment
*************************** 2. row ***************************
Field: store_id
Type: tinyint(3) unsigned
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 3. row ***************************
Field: first_name
Type: varchar(45)
Null: NO
Key:
Default: NULL
Extra:
*************************** 4. row ***************************
Field: last_name
Type: varchar(45)
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 5. row ***************************
Field: email
Type: varchar(50)
32. 31
Null: YES
Key:
Default: NULL
Extra:
*************************** 6. row ***************************
Field: address_id
Type: smallint(5) unsigned
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 7. row ***************************
Field: active
Type: tinyint(1)
Null: NO
Key:
Default: 1
Extra:
*************************** 8. row ***************************
Field: create_date
Type: datetime
Null: NO
Key:
Default: NULL
Extra:
*************************** 9. row ***************************
Field: last_update
Type: timestamp
Null: NO
Key:
Default: CURRENT_TIMESTAMP
Extra: on update CURRENT_TIMESTAMP
9 rows in set (0.01 sec)
33. 32
mysql> show full columns from customer G
*************************** 1. row ***************************
Field: customer_id
Type: smallint(5) unsigned
Collation: NULL
Null: NO
Key: PRI
Default: NULL
Extra: auto_increment
Privileges: select,insert,update,references
Comment:
*************************** 2. row ***************************
Field: store_id
Type: tinyint(3) unsigned
Collation: NULL
Null: NO
Key: MUL
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 3. row ***************************
Field: first_name
Type: varchar(45)
Collation: utf8_general_ci
Null: NO
Key:
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 4. row ***************************
34. 33
Field: last_name
Type: varchar(45)
Collation: utf8_general_ci
Null: NO
Key: MUL
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 5. row ***************************
Field: email
Type: varchar(50)
Collation: utf8_general_ci
Null: YES
Key:
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 6. row ***************************
Field: address_id
Type: smallint(5) unsigned
Collation: NULL
Null: NO
Key: MUL
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 7. row ***************************
Field: active
Type: tinyint(1)
Collation: NULL
Null: NO
35. 34
Key:
Default: 1
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 8. row ***************************
Field: create_date
Type: datetime
Collation: NULL
Null: NO
Key:
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 9. row ***************************
Field: last_update
Type: timestamp
Collation: NULL
Null: NO
Key:
Default: CURRENT_TIMESTAMP
Extra: on update CURRENT_TIMESTAMP
Privileges: select,insert,update,references
Comment:
9 rows in set (0.01 sec)
36. 35
mysql> SHOW INDEX FROM CUSTOMER G
*************************** 1. row ***************************
Table: CUSTOMER
Non_unique: 0
Key_name: PRIMARY
Seq_in_index: 1
Column_name: customer_id
Collation: A
Cardinality: 671
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 2. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_store_id
Seq_in_index: 1
Column_name: store_id
Collation: A
Cardinality: 4
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 3. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_address_id
Seq_in_index: 1
37. 36
Column_name: address_id
Collation: A
Cardinality: 671
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 4. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_last_name
Seq_in_index: 1
Column_name: last_name
Collation: A
Cardinality: 671
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
4 rows in set (0.00 sec)
mysql> SHOW KEYS FROM CUSTOMER G
*************************** 1. row ***************************
Table: CUSTOMER
Non_unique: 0
Key_name: PRIMARY
Seq_in_index: 1
Column_name: customer_id
Collation: A
Cardinality: 577
38. 37
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 2. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_store_id
Seq_in_index: 1
Column_name: store_id
Collation: A
Cardinality: 3
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 3. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_address_id
Seq_in_index: 1
Column_name: address_id
Collation: A
Cardinality: 577
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
39. 38
*************************** 4. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_last_name
Seq_in_index: 1
Column_name: last_name
Collation: A
Cardinality: 577
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
4 rows in set (0.00 sec)
mysql> SHOW INDEX FROM CUSTOMER G
*************************** 1. row ***************************
Table: CUSTOMER
Non_unique: 0
Key_name: PRIMARY
Seq_in_index: 1
Column_name: customer_id
Collation: A
Cardinality: 505
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 2. row ***************************
Table: CUSTOMER
Non_unique: 1
40. 39
Key_name: idx_fk_store_id
Seq_in_index: 1
Column_name: store_id
Collation: A
Cardinality: 3
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 3. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_address_id
Seq_in_index: 1
Column_name: address_id
Collation: A
Cardinality: 505
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 4. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_last_name
Seq_in_index: 1
Column_name: last_name
Collation: A
Cardinality: 505
Sub_part: NULL
41. 40
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
4 rows in set (0.00 sec)
mysql> show columns from customers G
ERROR 1146 (42S02): Table 'sakila.customers' doesn't exist
mysql> show columns from customer G
*************************** 1. row ***************************
Field: customer_id
Type: smallint(5) unsigned
Null: NO
Key: PRI
Default: NULL
Extra: auto_increment
*************************** 2. row ***************************
Field: store_id
Type: tinyint(3) unsigned
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 3. row ***************************
Field: first_name
Type: varchar(45)
Null: NO
Key:
Default: NULL
Extra:
*************************** 4. row ***************************
Field: last_name
42. 41
Type: varchar(45)
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 5. row ***************************
Field: email
Type: varchar(50)
Null: YES
Key:
Default: NULL
Extra:
*************************** 6. row ***************************
Field: address_id
Type: smallint(5) unsigned
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 7. row ***************************
Field: active
Type: tinyint(1)
Null: NO
Key:
Default: 1
Extra:
*************************** 8. row ***************************
Field: create_date
Type: datetime
Null: NO
Key:
Default: NULL
Extra:
*************************** 9. row ***************************
43. 42
Field: last_update
Type: timestamp
Null: NO
Key:
Default: CURRENT_TIMESTAMP
Extra: on update CURRENT_TIMESTAMP
9 rows in set (0.01 sec)
mysql> SHOW INDEX FROM CUSTOMER G
*************************** 1. row ***************************
Table: CUSTOMER
Non_unique: 0
Key_name: PRIMARY
Seq_in_index: 1
Column_name: customer_id
Collation: A
Cardinality: 671
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 2. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_store_id
Seq_in_index: 1
Column_name: store_id
Collation: A
Cardinality: 4
Sub_part: NULL
Packed: NULL
Null:
44. 43
Index_type: BTREE
Comment:
Index_comment:
*************************** 3. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_address_id
Seq_in_index: 1
Column_name: address_id
Collation: A
Cardinality: 671
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 4. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_last_name
Seq_in_index: 1
Column_name: last_name
Collation: A
Cardinality: 671
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
4 rows in set (0.00 sec)
mysql> SHOW KEYS FROM CUSTOMER G
45. 44
*************************** 1. row ***************************
Table: CUSTOMER
Non_unique: 0
Key_name: PRIMARY
Seq_in_index: 1
Column_name: customer_id
Collation: A
Cardinality: 577
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 2. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_store_id
Seq_in_index: 1
Column_name: store_id
Collation: A
Cardinality: 3
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 3. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_address_id
Seq_in_index: 1
Column_name: address_id
46. 45
Collation: A
Cardinality: 577
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 4. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_last_name
Seq_in_index: 1
Column_name: last_name
Collation: A
Cardinality: 577
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
4 rows in set (0.00 sec)
mysql> SHOW INDEX FROM CUSTOMER;
+----------+------------+-------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type |
Comment | Index_comment |
+----------+------------+-------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| CUSTOMER | 0 | PRIMARY | 1 | customer_id | A | 646 | NULL | NULL | | BTREE | | |
| CUSTOMER | 1 | idx_fk_store_id | 1 | store_id | A | 3 | NULL | NULL | | BTREE | | |
| CUSTOMER | 1 | idx_fk_address_id | 1 | address_id | A | 646 | NULL | NULL | | BTREE | | |
| CUSTOMER | 1 | idx_last_name | 1 | last_name | A | 646 | NULL | NULL | | BTREE | | |
+----------+------------+-------------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
47. 46
4 rows in set (0.00 sec)
mysql> SHOW INDEX FROM CUSTOMER G
*************************** 1. row ***************************
Table: CUSTOMER
Non_unique: 0
Key_name: PRIMARY
Seq_in_index: 1
Column_name: customer_id
Collation: A
Cardinality: 505
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 2. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_fk_store_id
Seq_in_index: 1
Column_name: store_id
Collation: A
Cardinality: 3
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 3. row ***************************
Table: CUSTOMER
Non_unique: 1
48. 47
Key_name: idx_fk_address_id
Seq_in_index: 1
Column_name: address_id
Collation: A
Cardinality: 505
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
*************************** 4. row ***************************
Table: CUSTOMER
Non_unique: 1
Key_name: idx_last_name
Seq_in_index: 1
Column_name: last_name
Collation: A
Cardinality: 505
Sub_part: NULL
Packed: NULL
Null:
Index_type: BTREE
Comment:
Index_comment:
4 rows in set (0.00 sec)
mysql> desc customer G
*************************** 1. row ***************************
Field: customer_id
Type: smallint(5) unsigned
Null: NO
Key: PRI
Default: NULL
49. 48
Extra: auto_increment
*************************** 2. row ***************************
Field: store_id
Type: tinyint(3) unsigned
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 3. row ***************************
Field: first_name
Type: varchar(45)
Null: NO
Key:
Default: NULL
Extra:
*************************** 4. row ***************************
Field: last_name
Type: varchar(45)
Null: NO
Key: MUL
Default: NULL
Extra:
*************************** 5. row ***************************
Field: email
Type: varchar(50)
Null: YES
Key:
Default: NULL
Extra:
*************************** 6. row ***************************
Field: address_id
Type: smallint(5) unsigned
Null: NO
Key: MUL
50. 49
Default: NULL
Extra:
*************************** 7. row ***************************
Field: active
Type: tinyint(1)
Null: NO
Key:
Default: 1
Extra:
*************************** 8. row ***************************
Field: create_date
Type: datetime
Null: NO
Key:
Default: NULL
Extra:
*************************** 9. row ***************************
Field: last_update
Type: timestamp
Null: NO
Key:
Default: CURRENT_TIMESTAMP
Extra: on update CURRENT_TIMESTAMP
9 rows in set (0.01 sec)
mysql> SHOW Character set G
*************************** 1. row ***************************
Charset: big5
Description: Big5 Traditional Chinese
Default collation: big5_chinese_ci
Maxlen: 2
*************************** 2. row ***************************
Charset: dec8
Description: DEC West European
51. 50
Default collation: dec8_swedish_ci
Maxlen: 1
*************************** 3. row ***************************
Charset: cp850
Description: DOS West European
Default collation: cp850_general_ci
Maxlen: 1
*************************** 4. row ***************************
Charset: hp8
Description: HP West European
Default collation: hp8_english_ci
Maxlen: 1
*************************** 5. row ***************************
Charset: koi8r
Description: KOI8-R Relcom Russian
Default collation: koi8r_general_ci
Maxlen: 1
*************************** 6. row ***************************
Charset: latin1
Description: cp1252 West European
Default collation: latin1_swedish_ci
Maxlen: 1
*************************** 7. row ***************************
Charset: latin2
Description: ISO 8859-2 Central European
Default collation: latin2_general_ci
Maxlen: 1
*************************** 8. row ***************************
Charset: swe7
Description: 7bit Swedish
Default collation: swe7_swedish_ci
Maxlen: 1
*************************** 9. row ***************************
Charset: ascii
52. 51
Description: US ASCII
Default collation: ascii_general_ci
Maxlen: 1
*************************** 10. row ***************************
Charset: ujis
Description: EUC-JP Japanese
Default collation: ujis_japanese_ci
Maxlen: 3
*************************** 11. row ***************************
Charset: sjis
Description: Shift-JIS Japanese
Default collation: sjis_japanese_ci
Maxlen: 2
*************************** 12. row ***************************
Charset: hebrew
Description: ISO 8859-8 Hebrew
Default collation: hebrew_general_ci
Maxlen: 1
*************************** 13. row ***************************
Charset: tis620
Description: TIS620 Thai
Default collation: tis620_thai_ci
Maxlen: 1
*************************** 14. row ***************************
Charset: euckr
Description: EUC-KR Korean
Default collation: euckr_korean_ci
Maxlen: 2
*************************** 15. row ***************************
Charset: koi8u
Description: KOI8-U Ukrainian
Default collation: koi8u_general_ci
Maxlen: 1
*************************** 16. row ***************************
53. 52
Charset: gb2312
Description: GB2312 Simplified Chinese
Default collation: gb2312_chinese_ci
Maxlen: 2
*************************** 17. row ***************************
Charset: greek
Description: ISO 8859-7 Greek
Default collation: greek_general_ci
Maxlen: 1
*************************** 18. row ***************************
Charset: cp1250
Description: Windows Central European
Default collation: cp1250_general_ci
Maxlen: 1
*************************** 19. row ***************************
Charset: gbk
Description: GBK Simplified Chinese
Default collation: gbk_chinese_ci
Maxlen: 2
*************************** 20. row ***************************
Charset: latin5
Description: ISO 8859-9 Turkish
Default collation: latin5_turkish_ci
Maxlen: 1
*************************** 21. row ***************************
Charset: armscii8
Description: ARMSCII-8 Armenian
Default collation: armscii8_general_ci
Maxlen: 1
*************************** 22. row ***************************
Charset: utf8
Description: UTF-8 Unicode
Default collation: utf8_general_ci
Maxlen: 3
54. 53
*************************** 23. row ***************************
Charset: ucs2
Description: UCS-2 Unicode
Default collation: ucs2_general_ci
Maxlen: 2
*************************** 24. row ***************************
Charset: cp866
Description: DOS Russian
Default collation: cp866_general_ci
Maxlen: 1
*************************** 25. row ***************************
Charset: keybcs2
Description: DOS Kamenicky Czech-Slovak
Default collation: keybcs2_general_ci
Maxlen: 1
*************************** 26. row ***************************
Charset: macce
Description: Mac Central European
Default collation: macce_general_ci
Maxlen: 1
*************************** 27. row ***************************
Charset: macroman
Description: Mac West European
Default collation: macroman_general_ci
Maxlen: 1
*************************** 28. row ***************************
Charset: cp852
Description: DOS Central European
Default collation: cp852_general_ci
Maxlen: 1
*************************** 29. row ***************************
Charset: latin7
Description: ISO 8859-13 Baltic
Default collation: latin7_general_ci
55. 54
Maxlen: 1
*************************** 30. row ***************************
Charset: utf8mb4
Description: UTF-8 Unicode
Default collation: utf8mb4_general_ci
Maxlen: 4
*************************** 31. row ***************************
Charset: cp1251
Description: Windows Cyrillic
Default collation: cp1251_general_ci
Maxlen: 1
*************************** 32. row ***************************
Charset: utf16
Description: UTF-16 Unicode
Default collation: utf16_general_ci
Maxlen: 4
*************************** 33. row ***************************
Charset: cp1256
Description: Windows Arabic
Default collation: cp1256_general_ci
Maxlen: 1
*************************** 34. row ***************************
Charset: cp1257
Description: Windows Baltic
Default collation: cp1257_general_ci
Maxlen: 1
*************************** 35. row ***************************
Charset: utf32
Description: UTF-32 Unicode
Default collation: utf32_general_ci
Maxlen: 4
*************************** 36. row ***************************
Charset: binary
Description: Binary pseudo charset
56. 55
Default collation: binary
Maxlen: 1
*************************** 37. row ***************************
Charset: geostd8
Description: GEOSTD8 Georgian
Default collation: geostd8_general_ci
Maxlen: 1
*************************** 38. row ***************************
Charset: cp932
Description: SJIS for Windows Japanese
Default collation: cp932_japanese_ci
Maxlen: 2
*************************** 39. row ***************************
Charset: eucjpms
Description: UJIS for Windows Japanese
Default collation: eucjpms_japanese_ci
Maxlen: 3
39 rows in set (0.00 sec)
mysql> SHOW Character set from customer;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
to use near 'from customer' at line 1
mysql> SHOW Character set ;
+----------+-----------------------------+---------------------+--------+
| Charset | Description | Default collation | Maxlen |
+----------+-----------------------------+---------------------+--------+
| big5 | Big5 Traditional Chinese | big5_chinese_ci | 2 |
| dec8 | DEC West European | dec8_swedish_ci | 1 |
| cp850 | DOS West European | cp850_general_ci | 1 |
| hp8 | HP West European | hp8_english_ci | 1 |
| koi8r | KOI8-R Relcom Russian | koi8r_general_ci | 1 |
| latin1 | cp1252 West European | latin1_swedish_ci | 1 |
| latin2 | ISO 8859-2 Central European | latin2_general_ci | 1 |
| swe7 | 7bit Swedish | swe7_swedish_ci | 1 |
57. 56
| ascii | US ASCII | ascii_general_ci | 1 |
| ujis | EUC-JP Japanese | ujis_japanese_ci | 3 |
| sjis | Shift-JIS Japanese | sjis_japanese_ci | 2 |
| hebrew | ISO 8859-8 Hebrew | hebrew_general_ci | 1 |
| tis620 | TIS620 Thai | tis620_thai_ci | 1 |
| euckr | EUC-KR Korean | euckr_korean_ci | 2 |
| koi8u | KOI8-U Ukrainian | koi8u_general_ci | 1 |
| gb2312 | GB2312 Simplified Chinese | gb2312_chinese_ci | 2 |
| greek | ISO 8859-7 Greek | greek_general_ci | 1 |
| cp1250 | Windows Central European | cp1250_general_ci | 1 |
| gbk | GBK Simplified Chinese | gbk_chinese_ci | 2 |
| latin5 | ISO 8859-9 Turkish | latin5_turkish_ci | 1 |
| armscii8 | ARMSCII-8 Armenian | armscii8_general_ci | 1 |
| utf8 | UTF-8 Unicode | utf8_general_ci | 3 |
| ucs2 | UCS-2 Unicode | ucs2_general_ci | 2 |
| cp866 | DOS Russian | cp866_general_ci | 1 |
| keybcs2 | DOS Kamenicky Czech-Slovak | keybcs2_general_ci | 1 |
| macce | Mac Central European | macce_general_ci | 1 |
| macroman | Mac West European | macroman_general_ci | 1 |
| cp852 | DOS Central European | cp852_general_ci | 1 |
| latin7 | ISO 8859-13 Baltic | latin7_general_ci | 1 |
| utf8mb4 | UTF-8 Unicode | utf8mb4_general_ci | 4 |
| cp1251 | Windows Cyrillic | cp1251_general_ci | 1 |
| utf16 | UTF-16 Unicode | utf16_general_ci | 4 |
| cp1256 | Windows Arabic | cp1256_general_ci | 1 |
| cp1257 | Windows Baltic | cp1257_general_ci | 1 |
| utf32 | UTF-32 Unicode | utf32_general_ci | 4 |
| binary | Binary pseudo charset | binary | 1 |
| geostd8 | GEOSTD8 Georgian | geostd8_general_ci | 1 |
| cp932 | SJIS for Windows Japanese | cp932_japanese_ci | 2 |
| eucjpms | UJIS for Windows Japanese | eucjpms_japanese_ci | 3 |
+----------+-----------------------------+---------------------+--------+
39 rows in set (0.00 sec)
58. 57
mysql> SHOW Character COLLATION;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
to use near 'COLLATION' at line 1
mysql> SHOW Character collation;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
to use near 'collation' at line 1
mysql> SHOW collation;
+-----------------------+----------+-----+---------+----------+---------+
| Collation | Charset | Id | Default | Compiled | Sortlen |
+-----------------------+----------+-----+---------+----------+---------+
| big5_chinese_ci | big5 | 1 | Yes | Yes | 1 |
| big5_bin | big5 | 84 | | Yes | 1 |
| dec8_swedish_ci | dec8 | 3 | Yes | Yes | 1 |
| dec8_bin | dec8 | 69 | | Yes | 1 |
| cp850_general_ci | cp850 | 4 | Yes | Yes | 1 |
| cp850_bin | cp850 | 80 | | Yes | 1 |
| hp8_english_ci | hp8 | 6 | Yes | Yes | 1 |
| hp8_bin | hp8 | 72 | | Yes | 1 |
| koi8r_general_ci | koi8r | 7 | Yes | Yes | 1 |
| koi8r_bin | koi8r | 74 | | Yes | 1 |
| latin1_german1_ci | latin1 | 5 | | Yes | 1 |
| latin1_swedish_ci | latin1 | 8 | Yes | Yes | 1 |
| latin1_danish_ci | latin1 | 15 | | Yes | 1 |
| latin1_german2_ci | latin1 | 31 | | Yes | 2 |
| latin1_bin | latin1 | 47 | | Yes | 1 |
| latin1_general_ci | latin1 | 48 | | Yes | 1 |
| latin1_general_cs | latin1 | 49 | | Yes | 1 |
| latin1_spanish_ci | latin1 | 94 | | Yes | 1 |
| latin2_czech_cs | latin2 | 2 | | Yes | 4 |
| latin2_general_ci | latin2 | 9 | Yes | Yes | 1 |
| latin2_hungarian_ci | latin2 | 21 | | Yes | 1 |
| latin2_croatian_ci | latin2 | 27 | | Yes | 1 |
| latin2_bin | latin2 | 77 | | Yes | 1 |
| swe7_swedish_ci | swe7 | 10 | Yes | Yes | 1 |
59. 58
| swe7_bin | swe7 | 82 | | Yes | 1 |
| ascii_general_ci | ascii | 11 | Yes | Yes | 1 |
| ascii_bin | ascii | 65 | | Yes | 1 |
| ujis_japanese_ci | ujis | 12 | Yes | Yes | 1 |
| ujis_bin | ujis | 91 | | Yes | 1 |
| sjis_japanese_ci | sjis | 13 | Yes | Yes | 1 |
| sjis_bin | sjis | 88 | | Yes | 1 |
| hebrew_general_ci | hebrew | 16 | Yes | Yes | 1 |
| hebrew_bin | hebrew | 71 | | Yes | 1 |
| tis620_thai_ci | tis620 | 18 | Yes | Yes | 4 |
| tis620_bin | tis620 | 89 | | Yes | 1 |
| euckr_korean_ci | euckr | 19 | Yes | Yes | 1 |
| euckr_bin | euckr | 85 | | Yes | 1 |
| koi8u_general_ci | koi8u | 22 | Yes | Yes | 1 |
| koi8u_bin | koi8u | 75 | | Yes | 1 |
| gb2312_chinese_ci | gb2312 | 24 | Yes | Yes | 1 |
| gb2312_bin | gb2312 | 86 | | Yes | 1 |
| greek_general_ci | greek | 25 | Yes | Yes | 1 |
| greek_bin | greek | 70 | | Yes | 1 |
| cp1250_general_ci | cp1250 | 26 | Yes | Yes | 1 |
| cp1250_czech_cs | cp1250 | 34 | | Yes | 2 |
| cp1250_croatian_ci | cp1250 | 44 | | Yes | 1 |
| cp1250_bin | cp1250 | 66 | | Yes | 1 |
| cp1250_polish_ci | cp1250 | 99 | | Yes | 1 |
| gbk_chinese_ci | gbk | 28 | Yes | Yes | 1 |
| gbk_bin | gbk | 87 | | Yes | 1 |
| latin5_turkish_ci | latin5 | 30 | Yes | Yes | 1 |
| latin5_bin | latin5 | 78 | | Yes | 1 |
| armscii8_general_ci | armscii8 | 32 | Yes | Yes | 1 |
| armscii8_bin | armscii8 | 64 | | Yes | 1 |
| utf8_general_ci | utf8 | 33 | Yes | Yes | 1 |
| utf8_bin | utf8 | 83 | | Yes | 1 |
| utf8_unicode_ci | utf8 | 192 | | Yes | 8 |
| utf8_icelandic_ci | utf8 | 193 | | Yes | 8 |
60. 59
| utf8_latvian_ci | utf8 | 194 | | Yes | 8 |
| utf8_romanian_ci | utf8 | 195 | | Yes | 8 |
| utf8_slovenian_ci | utf8 | 196 | | Yes | 8 |
| utf8_polish_ci | utf8 | 197 | | Yes | 8 |
| utf8_estonian_ci | utf8 | 198 | | Yes | 8 |
| utf8_spanish_ci | utf8 | 199 | | Yes | 8 |
| utf8_swedish_ci | utf8 | 200 | | Yes | 8 |
| utf8_turkish_ci | utf8 | 201 | | Yes | 8 |
| utf8_czech_ci | utf8 | 202 | | Yes | 8 |
| utf8_danish_ci | utf8 | 203 | | Yes | 8 |
| utf8_lithuanian_ci | utf8 | 204 | | Yes | 8 |
| utf8_slovak_ci | utf8 | 205 | | Yes | 8 |
| utf8_spanish2_ci | utf8 | 206 | | Yes | 8 |
| utf8_roman_ci | utf8 | 207 | | Yes | 8 |
| utf8_persian_ci | utf8 | 208 | | Yes | 8 |
| utf8_esperanto_ci | utf8 | 209 | | Yes | 8 |
| utf8_hungarian_ci | utf8 | 210 | | Yes | 8 |
| utf8_sinhala_ci | utf8 | 211 | | Yes | 8 |
| ucs2_general_ci | ucs2 | 35 | Yes | Yes | 1 |
| ucs2_bin | ucs2 | 90 | | Yes | 1 |
| ucs2_unicode_ci | ucs2 | 128 | | Yes | 8 |
| ucs2_icelandic_ci | ucs2 | 129 | | Yes | 8 |
| ucs2_latvian_ci | ucs2 | 130 | | Yes | 8 |
| ucs2_romanian_ci | ucs2 | 131 | | Yes | 8 |
| ucs2_slovenian_ci | ucs2 | 132 | | Yes | 8 |
| ucs2_polish_ci | ucs2 | 133 | | Yes | 8 |
| ucs2_estonian_ci | ucs2 | 134 | | Yes | 8 |
| ucs2_spanish_ci | ucs2 | 135 | | Yes | 8 |
| ucs2_swedish_ci | ucs2 | 136 | | Yes | 8 |
| ucs2_turkish_ci | ucs2 | 137 | | Yes | 8 |
| ucs2_czech_ci | ucs2 | 138 | | Yes | 8 |
| ucs2_danish_ci | ucs2 | 139 | | Yes | 8 |
| ucs2_lithuanian_ci | ucs2 | 140 | | Yes | 8 |
| ucs2_slovak_ci | ucs2 | 141 | | Yes | 8 |
61. 60
| ucs2_spanish2_ci | ucs2 | 142 | | Yes | 8 |
| ucs2_roman_ci | ucs2 | 143 | | Yes | 8 |
| ucs2_persian_ci | ucs2 | 144 | | Yes | 8 |
| ucs2_esperanto_ci | ucs2 | 145 | | Yes | 8 |
| ucs2_hungarian_ci | ucs2 | 146 | | Yes | 8 |
| ucs2_sinhala_ci | ucs2 | 147 | | Yes | 8 |
| cp866_general_ci | cp866 | 36 | Yes | Yes | 1 |
| cp866_bin | cp866 | 68 | | Yes | 1 |
| keybcs2_general_ci | keybcs2 | 37 | Yes | Yes | 1 |
| keybcs2_bin | keybcs2 | 73 | | Yes | 1 |
| macce_general_ci | macce | 38 | Yes | Yes | 1 |
| macce_bin | macce | 43 | | Yes | 1 |
| macroman_general_ci | macroman | 39 | Yes | Yes | 1 |
| macroman_bin | macroman | 53 | | Yes | 1 |
| cp852_general_ci | cp852 | 40 | Yes | Yes | 1 |
| cp852_bin | cp852 | 81 | | Yes | 1 |
| latin7_estonian_cs | latin7 | 20 | | Yes | 1 |
| latin7_general_ci | latin7 | 41 | Yes | Yes | 1 |
| latin7_general_cs | latin7 | 42 | | Yes | 1 |
| latin7_bin | latin7 | 79 | | Yes | 1 |
| utf8mb4_general_ci | utf8mb4 | 45 | Yes | Yes | 1 |
| utf8mb4_bin | utf8mb4 | 46 | | Yes | 1 |
| utf8mb4_unicode_ci | utf8mb4 | 224 | | Yes | 8 |
| utf8mb4_icelandic_ci | utf8mb4 | 225 | | Yes | 8 |
| utf8mb4_latvian_ci | utf8mb4 | 226 | | Yes | 8 |
| utf8mb4_romanian_ci | utf8mb4 | 227 | | Yes | 8 |
| utf8mb4_slovenian_ci | utf8mb4 | 228 | | Yes | 8 |
| utf8mb4_polish_ci | utf8mb4 | 229 | | Yes | 8 |
| utf8mb4_estonian_ci | utf8mb4 | 230 | | Yes | 8 |
| utf8mb4_spanish_ci | utf8mb4 | 231 | | Yes | 8 |
| utf8mb4_swedish_ci | utf8mb4 | 232 | | Yes | 8 |
| utf8mb4_turkish_ci | utf8mb4 | 233 | | Yes | 8 |
| utf8mb4_czech_ci | utf8mb4 | 234 | | Yes | 8 |
| utf8mb4_danish_ci | utf8mb4 | 235 | | Yes | 8 |
62. 61
| utf8mb4_lithuanian_ci | utf8mb4 | 236 | | Yes | 8 |
| utf8mb4_slovak_ci | utf8mb4 | 237 | | Yes | 8 |
| utf8mb4_spanish2_ci | utf8mb4 | 238 | | Yes | 8 |
| utf8mb4_roman_ci | utf8mb4 | 239 | | Yes | 8 |
| utf8mb4_persian_ci | utf8mb4 | 240 | | Yes | 8 |
| utf8mb4_esperanto_ci | utf8mb4 | 241 | | Yes | 8 |
| utf8mb4_hungarian_ci | utf8mb4 | 242 | | Yes | 8 |
| utf8mb4_sinhala_ci | utf8mb4 | 243 | | Yes | 8 |
| cp1251_bulgarian_ci | cp1251 | 14 | | Yes | 1 |
| cp1251_ukrainian_ci | cp1251 | 23 | | Yes | 1 |
| cp1251_bin | cp1251 | 50 | | Yes | 1 |
| cp1251_general_ci | cp1251 | 51 | Yes | Yes | 1 |
| cp1251_general_cs | cp1251 | 52 | | Yes | 1 |
| utf16_general_ci | utf16 | 54 | Yes | Yes | 1 |
| utf16_bin | utf16 | 55 | | Yes | 1 |
| utf16_unicode_ci | utf16 | 101 | | Yes | 8 |
| utf16_icelandic_ci | utf16 | 102 | | Yes | 8 |
| utf16_latvian_ci | utf16 | 103 | | Yes | 8 |
| utf16_romanian_ci | utf16 | 104 | | Yes | 8 |
| utf16_slovenian_ci | utf16 | 105 | | Yes | 8 |
| utf16_polish_ci | utf16 | 106 | | Yes | 8 |
| utf16_estonian_ci | utf16 | 107 | | Yes | 8 |
| utf16_spanish_ci | utf16 | 108 | | Yes | 8 |
| utf16_swedish_ci | utf16 | 109 | | Yes | 8 |
| utf16_turkish_ci | utf16 | 110 | | Yes | 8 |
| utf16_czech_ci | utf16 | 111 | | Yes | 8 |
| utf16_danish_ci | utf16 | 112 | | Yes | 8 |
| utf16_lithuanian_ci | utf16 | 113 | | Yes | 8 |
| utf16_slovak_ci | utf16 | 114 | | Yes | 8 |
| utf16_spanish2_ci | utf16 | 115 | | Yes | 8 |
| utf16_roman_ci | utf16 | 116 | | Yes | 8 |
| utf16_persian_ci | utf16 | 117 | | Yes | 8 |
| utf16_esperanto_ci | utf16 | 118 | | Yes | 8 |
| utf16_hungarian_ci | utf16 | 119 | | Yes | 8 |
63. 62
| utf16_sinhala_ci | utf16 | 120 | | Yes | 8 |
| cp1256_general_ci | cp1256 | 57 | Yes | Yes | 1 |
| cp1256_bin | cp1256 | 67 | | Yes | 1 |
| cp1257_lithuanian_ci | cp1257 | 29 | | Yes | 1 |
| cp1257_bin | cp1257 | 58 | | Yes | 1 |
| cp1257_general_ci | cp1257 | 59 | Yes | Yes | 1 |
| utf32_general_ci | utf32 | 60 | Yes | Yes | 1 |
| utf32_bin | utf32 | 61 | | Yes | 1 |
| utf32_unicode_ci | utf32 | 160 | | Yes | 8 |
| utf32_icelandic_ci | utf32 | 161 | | Yes | 8 |
| utf32_latvian_ci | utf32 | 162 | | Yes | 8 |
| utf32_romanian_ci | utf32 | 163 | | Yes | 8 |
| utf32_slovenian_ci | utf32 | 164 | | Yes | 8 |
| utf32_polish_ci | utf32 | 165 | | Yes | 8 |
| utf32_estonian_ci | utf32 | 166 | | Yes | 8 |
| utf32_spanish_ci | utf32 | 167 | | Yes | 8 |
| utf32_swedish_ci | utf32 | 168 | | Yes | 8 |
| utf32_turkish_ci | utf32 | 169 | | Yes | 8 |
| utf32_czech_ci | utf32 | 170 | | Yes | 8 |
| utf32_danish_ci | utf32 | 171 | | Yes | 8 |
| utf32_lithuanian_ci | utf32 | 172 | | Yes | 8 |
| utf32_slovak_ci | utf32 | 173 | | Yes | 8 |
| utf32_spanish2_ci | utf32 | 174 | | Yes | 8 |
| utf32_roman_ci | utf32 | 175 | | Yes | 8 |
| utf32_persian_ci | utf32 | 176 | | Yes | 8 |
| utf32_esperanto_ci | utf32 | 177 | | Yes | 8 |
| utf32_hungarian_ci | utf32 | 178 | | Yes | 8 |
| utf32_sinhala_ci | utf32 | 179 | | Yes | 8 |
| binary | binary | 63 | Yes | Yes | 1 |
| geostd8_general_ci | geostd8 | 92 | Yes | Yes | 1 |
| geostd8_bin | geostd8 | 93 | | Yes | 1 |
| cp932_japanese_ci | cp932 | 95 | Yes | Yes | 1 |
| cp932_bin | cp932 | 96 | | Yes | 1 |
| eucjpms_japanese_ci | eucjpms | 97 | Yes | Yes | 1 |
64. 63
| eucjpms_bin | eucjpms | 98 | | Yes | 1 |
+-----------------------+----------+-----+---------+----------+---------+
195 rows in set (0.00 sec)
mysql> show full columns from customer;
+-------------+----------------------+-----------------+------+-----+-------------------+-----------------------------+---------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |
+-------------+----------------------+-----------------+------+-----+-------------------+-----------------------------+---------------------------------+---------+
| customer_id | smallint(5) unsigned | NULL | NO | PRI | NULL | auto_increment | select,insert,update,references | |
| store_id | tinyint(3) unsigned | NULL | NO | MUL | NULL | | select,insert,update,references | |
| first_name | varchar(45) | utf8_general_ci | NO | | NULL | | select,insert,update,references | |
| last_name | varchar(45) | utf8_general_ci | NO | MUL | NULL | | select,insert,update,references | |
| email | varchar(50) | utf8_general_ci | YES | | NULL | | select,insert,update,references | |
| address_id | smallint(5) unsigned | NULL | NO | MUL | NULL | | select,insert,update,references | |
| active | tinyint(1) | NULL | NO | | 1 | | select,insert,update,references | |
| create_date | datetime | NULL | NO | | NULL | | select,insert,update,references | |
| last_update | timestamp | NULL | NO | | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
select,insert,update,references | |
+-------------+----------------------+-----------------+------+-----+-------------------+-----------------------------+---------------------------------+---------+
9 rows in set (0.00 sec)
mysql> show full columns from customer G
*************************** 1. row ***************************
Field: customer_id
Type: smallint(5) unsigned
Collation: NULL
Null: NO
Key: PRI
Default: NULL
Extra: auto_increment
Privileges: select,insert,update,references
Comment:
*************************** 2. row ***************************
Field: store_id
65. 64
Type: tinyint(3) unsigned
Collation: NULL
Null: NO
Key: MUL
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 3. row ***************************
Field: first_name
Type: varchar(45)
Collation: utf8_general_ci
Null: NO
Key:
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 4. row ***************************
Field: last_name
Type: varchar(45)
Collation: utf8_general_ci
Null: NO
Key: MUL
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 5. row ***************************
Field: email
Type: varchar(50)
Collation: utf8_general_ci
Null: YES
Key:
66. 65
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 6. row ***************************
Field: address_id
Type: smallint(5) unsigned
Collation: NULL
Null: NO
Key: MUL
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 7. row ***************************
Field: active
Type: tinyint(1)
Collation: NULL
Null: NO
Key:
Default: 1
Extra:
Privileges: select,insert,update,references
Comment:
*************************** 8. row ***************************
Field: create_date
Type: datetime
Collation: NULL
Null: NO
Key:
Default: NULL
Extra:
Privileges: select,insert,update,references
Comment:
67. 66
*************************** 9. row ***************************
Field: last_update
Type: timestamp
Collation: NULL
Null: NO
Key:
Default: CURRENT_TIMESTAMP
Extra: on update CURRENT_TIMESTAMP
Privileges: select,insert,update,references
Comment:
9 rows in set (0.01 sec)
mysql> SHOW TABLES;
+----------------------------+
| Tables_in_sakila |
+----------------------------+
| actor |
| actor_info |
| address |
| books |
| category |
| city |
| country |
| country2 |
| country3 |
| customer |
| customer_list |
| film |
| film_actor |
| film_category |
| film_list |
| film_text |
| grade_summary |
| inventory |
68. 67
| language |
| nicer_but_slower_film_list |
| orders23 |
| payment |
| rental |
| sales_by_film_category |
| sales_by_store |
| singers |
| singers2 |
| singers4 |
| staff |
| staff_list |
| store |
| stud |
| stud2 |
| studb |
| studb6 |
+----------------------------+
35 rows in set (0.53 sec)
mysql>
mysql> SELECT TABLE_NAME,ROW_FORMAT FROM INFORMATION_SCHEMA.TABLES;
+----------------------------------------------+------------+
| TABLE_NAME | ROW_FORMAT |
+----------------------------------------------+------------+
| CHARACTER_SETS | Fixed |
| COLLATIONS | Fixed |
| COLLATION_CHARACTER_SET_APPLICABILITY | Fixed |
| COLUMNS | Dynamic |
| COLUMN_PRIVILEGES | Fixed |
| ENGINES | Fixed |
| EVENTS | Dynamic |
| FILES | Fixed |
| GLOBAL_STATUS | Fixed |
69. 68
| GLOBAL_VARIABLES | Fixed |
| KEY_COLUMN_USAGE | Fixed |
| PARAMETERS | Dynamic |
| PARTITIONS | Dynamic |
| PLUGINS | Dynamic |
| PROCESSLIST | Dynamic |
| PROFILING | Fixed |
| REFERENTIAL_CONSTRAINTS | Fixed |
| ROUTINES | Dynamic |
| SCHEMATA | Fixed |
| SCHEMA_PRIVILEGES | Fixed |
| SESSION_STATUS | Fixed |
| SESSION_VARIABLES | Fixed |
| STATISTICS | Fixed |
| TABLES | Fixed |
| TABLESPACES | Fixed |
| TABLE_CONSTRAINTS | Fixed |
| TABLE_PRIVILEGES | Fixed |
| TRIGGERS | Dynamic |
| USER_PRIVILEGES | Fixed |
| VIEWS | Dynamic |
| INNODB_CMP_RESET | Fixed |
| INNODB_TRX | Fixed |
| INNODB_CMPMEM_RESET | Fixed |
| INNODB_LOCK_WAITS | Fixed |
| INNODB_CMPMEM | Fixed |
| INNODB_CMP | Fixed |
| INNODB_LOCKS | Fixed |
| columns_priv | Fixed |
| db | Fixed |
| event | Dynamic |
| func | Fixed |
| general_log | Dynamic |
| help_category | Fixed |
70. 69
| help_keyword | Fixed |
| help_relation | Fixed |
| help_topic | Dynamic |
| host | Fixed |
| ndb_binlog_index | Dynamic |
| plugin | Dynamic |
| proc | Dynamic |
| procs_priv | Fixed |
| proxies_priv | Fixed |
| servers | Fixed |
| slow_log | Dynamic |
| tables_priv | Fixed |
| time_zone | Fixed |
| time_zone_leap_second | Fixed |
| time_zone_name | Fixed |
| time_zone_transition | Fixed |
| time_zone_transition_type | Fixed |
| user | Dynamic |
| cond_instances | Dynamic |
| events_waits_current | Dynamic |
| events_waits_history | Dynamic |
| events_waits_history_long | Dynamic |
| events_waits_summary_by_instance | Dynamic |
| events_waits_summary_by_thread_by_event_name | Dynamic |
| events_waits_summary_global_by_event_name | Dynamic |
| file_instances | Dynamic |
| file_summary_by_event_name | Dynamic |
| file_summary_by_instance | Dynamic |
| mutex_instances | Dynamic |
| performance_timers | Fixed |
| rwlock_instances | Dynamic |
| setup_consumers | Dynamic |
| setup_instruments | Dynamic |
| setup_timers | Dynamic |
71. 70
| threads | Dynamic |
| actor | Compact |
| actor_info | NULL |
| address | Compact |
| books | Compact |
| category | Compact |
| city | Compact |
| country | Compact |
| country2 | Compact |
| country3 | Compact |
| customer | Compact |
| customer_list | NULL |
| film | Compact |
| film_actor | Compact |
| film_category | Compact |
| film_list | NULL |
| film_text | Dynamic |
| grade_summary | Compact |
| inventory | Compact |
| language | Compact |
| nicer_but_slower_film_list | NULL |
| orders23 | Compact |
| payment | Compact |
| rental | Compact |
| sales_by_film_category | NULL |
| sales_by_store | NULL |
| singers | Compact |
| singers2 | Compact |
| singers4 | Compact |
| staff | Compact |
| staff_list | NULL |
| store | Compact |
| stud | Compact |
| stud2 | Compact |
72. 71
| studb | Fixed |
| studb6 | Fixed |
+----------------------------------------------+------------+
113 rows in set (0.91 sec)
mysql> SELECT * FROM INFORMATION_SCHEMA.TABLES G
*************************** 1. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: CHARACTER_SETS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 384
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16434816
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=43690
TABLE_COMMENT:
*************************** 2. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: COLLATIONS
TABLE_TYPE: SYSTEM VIEW
73. 72
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 231
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16704765
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=72628
TABLE_COMMENT:
*************************** 3. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: COLLATION_CHARACTER_SET_APPLICABILITY
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 195
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16357770
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
74. 73
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=86037
TABLE_COMMENT:
*************************** 4. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: COLUMNS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=6130
TABLE_COMMENT:
*************************** 5. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: COLUMN_PRIVILEGES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
75. 74
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 2565
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16757145
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=6540
TABLE_COMMENT:
*************************** 6. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: ENGINES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 490
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16574250
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
76. 75
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=34239
TABLE_COMMENT:
*************************** 7. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: EVENTS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=1353
TABLE_COMMENT:
*************************** 8. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: FILES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
77. 76
AVG_ROW_LENGTH: 2677
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16758020
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=6267
TABLE_COMMENT:
*************************** 9. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: GLOBAL_STATUS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 3268
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16755036
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=5133
78. 77
TABLE_COMMENT:
*************************** 10. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: GLOBAL_VARIABLES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 3268
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16755036
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=5133
TABLE_COMMENT:
*************************** 11. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: KEY_COLUMN_USAGE
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 4637
DATA_LENGTH: 0
79. 78
MAX_DATA_LENGTH: 16762755
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=3618
TABLE_COMMENT:
*************************** 12. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: PARAMETERS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=13234
TABLE_COMMENT:
*************************** 13. row ***************************
80. 79
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: PARTITIONS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=12204
TABLE_COMMENT:
*************************** 14. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: PLUGINS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
81. 80
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=24780
TABLE_COMMENT:
*************************** 15. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: PROCESSLIST
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=52279
TABLE_COMMENT:
*************************** 16. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
82. 81
TABLE_NAME: PROFILING
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 308
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16562084
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=54471
TABLE_COMMENT:
*************************** 17. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: REFERENTIAL_CONSTRAINTS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 4814
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16767162
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
83. 82
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=3485
TABLE_COMMENT:
*************************** 18. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: ROUTINES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=1276
TABLE_COMMENT:
*************************** 19. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: SCHEMATA
TABLE_TYPE: SYSTEM VIEW
84. 83
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 3464
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16738048
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=4843
TABLE_COMMENT:
*************************** 20. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: SCHEMA_PRIVILEGES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 2179
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16736899
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
85. 84
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=7699
TABLE_COMMENT:
*************************** 21. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: SESSION_STATUS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 3268
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16755036
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=5133
TABLE_COMMENT:
*************************** 22. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: SESSION_VARIABLES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
86. 85
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 3268
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16755036
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=5133
TABLE_COMMENT:
*************************** 23. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: STATISTICS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 5753
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16752736
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
87. 86
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=2916
TABLE_COMMENT:
*************************** 24. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: TABLES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 9450
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16764300
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=1775
TABLE_COMMENT:
*************************** 25. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: TABLESPACES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
88. 87
AVG_ROW_LENGTH: 6951
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16772763
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=2413
TABLE_COMMENT:
*************************** 26. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: TABLE_CONSTRAINTS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 2504
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16721712
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=6700
89. 88
TABLE_COMMENT:
*************************** 27. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: TABLE_PRIVILEGES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 2372
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16748692
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=7073
TABLE_COMMENT:
*************************** 28. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: TRIGGERS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
90. 89
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=1245
TABLE_COMMENT:
*************************** 29. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: USER_PRIVILEGES
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 1986
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16726092
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=8447
TABLE_COMMENT:
*************************** 30. row ***************************
91. 90
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: VIEWS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2013-02-23 06:38:30
UPDATE_TIME: 2013-02-23 06:38:30
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=15171
TABLE_COMMENT:
*************************** 31. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: INNODB_CMP_RESET
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 25
DATA_LENGTH: 0
MAX_DATA_LENGTH: 13107200
INDEX_LENGTH: 0
92. 91
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=671088
TABLE_COMMENT:
*************************** 32. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: INNODB_TRX
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 4534
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16766732
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=3700
TABLE_COMMENT:
*************************** 33. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
93. 92
TABLE_NAME: INNODB_CMPMEM_RESET
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 29
DATA_LENGTH: 0
MAX_DATA_LENGTH: 15204352
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=578524
TABLE_COMMENT:
*************************** 34. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: INNODB_LOCK_WAITS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 599
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16749238
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
94. 93
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=28008
TABLE_COMMENT:
*************************** 35. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: INNODB_CMPMEM
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 29
DATA_LENGTH: 0
MAX_DATA_LENGTH: 15204352
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=578524
TABLE_COMMENT:
*************************** 36. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: INNODB_CMP
TABLE_TYPE: SYSTEM VIEW
95. 94
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 25
DATA_LENGTH: 0
MAX_DATA_LENGTH: 13107200
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=671088
TABLE_COMMENT:
*************************** 37. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: information_schema
TABLE_NAME: INNODB_LOCKS
TABLE_TYPE: SYSTEM VIEW
ENGINE: MEMORY
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: NULL
AVG_ROW_LENGTH: 31244
DATA_LENGTH: 0
MAX_DATA_LENGTH: 16746784
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
96. 95
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS: max_rows=536
TABLE_COMMENT:
*************************** 38. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: columns_priv
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 227994731135631359
INDEX_LENGTH: 4096
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Column privileges
*************************** 39. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: db
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
97. 96
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 880
MAX_DATA_LENGTH: 123848989752688639
INDEX_LENGTH: 5120
DATA_FREE: 880
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2013-01-14 07:41:32
CHECK_TIME: 2011-03-31 09:53:38
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Database privileges
*************************** 40. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: event
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 2048
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
98. 97
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Events
*************************** 41. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: func
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 162974011515469823
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: User defined functions
*************************** 42. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: general_log
TABLE_TYPE: BASE TABLE
ENGINE: CSV
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 2
99. 98
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: General log
*************************** 43. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: help_category
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 38
AVG_ROW_LENGTH: 581
DATA_LENGTH: 22078
MAX_DATA_LENGTH: 163536961468891135
INDEX_LENGTH: 3072
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:40
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
100. 99
TABLE_COMMENT: help categories
*************************** 44. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: help_keyword
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 453
AVG_ROW_LENGTH: 197
DATA_LENGTH: 89241
MAX_DATA_LENGTH: 55450570411999231
INDEX_LENGTH: 16384
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:40
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: help keywords
*************************** 45. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: help_relation
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 992
AVG_ROW_LENGTH: 9
DATA_LENGTH: 8928
101. 100
MAX_DATA_LENGTH: 2533274790395903
INDEX_LENGTH: 18432
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:40
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: keyword-topic relation
*************************** 46. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: help_topic
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 505
AVG_ROW_LENGTH: 832
DATA_LENGTH: 420296
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 20480
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:40
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: help topics
*************************** 47. row ***************************
102. 101
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: host
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 110056715893866495
INDEX_LENGTH: 2048
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Host privileges; Merged with database privileges
*************************** 48. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: ndb_binlog_index
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
103. 102
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: latin1_swedish_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 49. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: plugin
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: MySQL plugins
*************************** 50. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
104. 103
TABLE_NAME: proc
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 6
AVG_ROW_LENGTH: 1725
DATA_LENGTH: 10352
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 4096
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2013-01-27 01:28:55
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Stored Procedures
*************************** 51. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: procs_priv
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 239253730204057599
INDEX_LENGTH: 4096
DATA_FREE: 0
AUTO_INCREMENT: NULL
105. 104
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Procedure privileges
*************************** 52. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: proxies_priv
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 1
AVG_ROW_LENGTH: 693
DATA_LENGTH: 693
MAX_DATA_LENGTH: 195062158860484607
INDEX_LENGTH: 5120
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:38
UPDATE_TIME: 2011-03-31 17:53:40
CHECK_TIME: 2011-03-31 09:53:38
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: User proxy privileges
*************************** 53. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: servers
TABLE_TYPE: BASE TABLE
106. 105
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 433752939111120895
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: MySQL Foreign Servers table
*************************** 54. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: slow_log
TABLE_TYPE: BASE TABLE
ENGINE: CSV
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 2
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
107. 106
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Slow log
*************************** 55. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: tables_priv
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 239535205180768255
INDEX_LENGTH: 4096
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Table privileges
*************************** 56. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: time_zone
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
108. 107
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 1970324836974591
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: 1
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Time zones
*************************** 57. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: time_zone_leap_second
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 3659174697238527
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
109. 108
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Leap seconds information for time zones
*************************** 58. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: time_zone_name
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 55450570411999231
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Time zone names
*************************** 59. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: time_zone_transition
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
110. 109
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 4785074604081151
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Time zone transitions
*************************** 60. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: time_zone_transition_type
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Fixed
TABLE_ROWS: 0
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 10696049115004927
INDEX_LENGTH: 1024
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:37
UPDATE_TIME: 2011-03-31 17:53:38
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
111. 110
TABLE_COMMENT: Time zone transition types
*************************** 61. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: mysql
TABLE_NAME: user
TABLE_TYPE: BASE TABLE
ENGINE: MyISAM
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1
AVG_ROW_LENGTH: 108
DATA_LENGTH: 368
MAX_DATA_LENGTH: 281474976710655
INDEX_LENGTH: 2048
DATA_FREE: 260
AUTO_INCREMENT: NULL
CREATE_TIME: 2011-03-31 09:53:36
UPDATE_TIME: 2013-01-14 07:11:49
CHECK_TIME: NULL
TABLE_COLLATION: utf8_bin
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT: Users and global privileges
*************************** 62. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: cond_instances
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
112. 111
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 63. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: events_waits_current
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 64. row ***************************
113. 112
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: events_waits_history
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 65. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: events_waits_history_long
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 10000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
114. 113
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 66. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: events_waits_summary_by_instance
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 67. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
115. 114
TABLE_NAME: events_waits_summary_by_thread_by_event_name
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 68. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: events_waits_summary_global_by_event_name
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
116. 115
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 69. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: file_instances
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 70. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: file_summary_by_event_name
TABLE_TYPE: BASE TABLE
117. 116
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL
CHECK_TIME: NULL
TABLE_COLLATION: utf8_general_ci
CHECKSUM: NULL
CREATE_OPTIONS:
TABLE_COMMENT:
*************************** 71. row ***************************
TABLE_CATALOG: def
TABLE_SCHEMA: performance_schema
TABLE_NAME: file_summary_by_instance
TABLE_TYPE: BASE TABLE
ENGINE: PERFORMANCE_SCHEMA
VERSION: 10
ROW_FORMAT: Dynamic
TABLE_ROWS: 1000
AVG_ROW_LENGTH: 0
DATA_LENGTH: 0
MAX_DATA_LENGTH: 0
INDEX_LENGTH: 0
DATA_FREE: 0
AUTO_INCREMENT: NULL
CREATE_TIME: NULL
UPDATE_TIME: NULL