Database reference - sakila

sakila -  tables -  language

Description

none

Table properties

namevalue
namelanguage 
created3/19/2009 11:39:18 PM 
modified 
row count
Size of data16 kb
Size of indexes0 kb
average row size2,730 b
engineInnoDB 
version10 
row formatCompact 
max data length0 kb
data free5242880 
auto increment
table collationutf8_general_ci 
create options 

Columns

columndatatypelengthbytesprecisionscaledefaultnullsPKFKUQextraprivilegescomment
language_id  tinyint(3) unsigned        NO  yes    yes  auto_increment  select,insert,update,references   
name  char(20)  20  60        NO          select,insert,update,references   
last_update  timestamp          CURRENT_TIMESTAMP  NO        on update CURRENT_TIMESTAMP  select,insert,update,references   

Indexes

namecolumnsuniquecardinalitytypecomment
PRIMARY  language_id  yes  BTREE   

Referenced by

name
film
film

Foreign key graph

languagefilmfilm

Sample rows

language_idnamelast_update
English  2/15/2006 5:02:19 AM 
Italian  2/15/2006 5:02:19 AM 
Japanese  2/15/2006 5:02:19 AM 
Mandarin  2/15/2006 5:02:19 AM 
French  2/15/2006 5:02:19 AM 
German  2/15/2006 5:02:19 AM 

Code

CREATE TABLE `language` (
  `language_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `name` char(20) NOT NULL,
  `last_update` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`language_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8



Documentation generated by SqlSpec