标签:style http os ar 数据 2014 sp on c
SELECT fl.name,fvl.value,COUNT((fvl.value)) n FROM ps_feature_lang fl LEFT JOIN ps_feature_product fp ON (fl.id_feature=fp.id_feature) LEFT JOIN ps_feature_value_lang fvl ON (fvl.id_feature_value=fp.id_feature_value) WHERE fp.id_product in (select id_product from ps_category_product where id_category=110) group by fvl.value order by fvl.value;
show create table tbl_name
显示创建表的sql语句。
show character set [like ‘pattern‘]
显示所有可利用的字符集
show create database db_name
显示创建db_name时候的sql语句
show databases [like ‘pattern‘]
显示当前mysql上所有的数据库
mysql> show tables;
显示当前数据库上的所有表
show open table
显示当前表缓冲区中的表
SHOW PRIVILEGES
显示mysql所支持的权限
标签:style http os ar 数据 2014 sp on c
原文地址:http://my.oschina.net/u/1388018/blog/317487