1.根据需要多少用多少
2.一般用varchar,数字用int,字符串用varchar
3.是搜索吗?join left吧
4.and  or  xor  __FILE__  
__LINE__  array()  as  break  case  
cfunction  class  const  continue  declare  
default  die()  do  echo()  else  
elseif  empty()  enddeclare  endfor  endforeach  
endif  endswitch  endwhile  eval  exit()  
extends  for  foreach  function  global  
if  include()  include_once()  isset()  list()  
new  old_function  print()  require()  require_once()  
return()  static  switch  unset()  use  
var  while  __FUNCTION__  __CLASS__  这是关键字
索引用来快速地寻找那些具有特定值的记录,所有MySQL索引都以B-树的形式保存。如果没有索引,执行查询时MySQL必须从第一个记录开始扫描整个表的所有记录,直至找到符合要求的记录。表里面的记录数量越多,这个操作的代价就越高。如果作为搜索条件的列上已经创建了索引,MySQL无需扫描任何记录即可迅速得到目标记录所在的位置。如果表有1000个记录,通过索引查找记录至少要比顺序扫描记录快100倍。