1、显示数据库showdatabases;2、选择数据库use数据库名;3、显示数据库中的表showtables;4、显示数据表的结构describe表名;5、显示表中记录SELECT*FROM表名6、建库createdatabse库名;7、建表createtable表名(字段设定列表);mysql>createtablename(->idintauto_incrementn..
分类:
数据库 时间:
2016-03-16 02:03:44
阅读次数:
251
第一次玩codewars,选了个最简单的题目 要求是: You have to write a function that describe Leo: if oscar was (integer) 88, you have to return "Leo finally won the oscar!
分类:
Web程序 时间:
2016-03-13 23:48:55
阅读次数:
196
This problem can be solve in simpler O(NsqrtN) solution, but I will describe O(NlogN) one. We will solve this problem in offline. For each x (0?≤?x?<
分类:
编程语言 时间:
2016-03-11 20:20:27
阅读次数:
261
作业题目: Briefly describe an error from your past projects that you have recently completed or an error from other projects which impress you most. State
分类:
其他好文 时间:
2016-03-07 01:09:26
阅读次数:
199
mysql查看表结构命令,如下:desc 表名;show columns from 表名;describe 表名;show create table 表名; use information_schema; #切换到information_schema数据库select * from columns
分类:
数据库 时间:
2016-03-04 13:07:34
阅读次数:
213
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. AC代码: def mergeKLists_merge_sort(self, lists): def
分类:
其他好文 时间:
2016-03-02 01:39:52
阅读次数:
155
1、进入命令行 bin/hbase shell 2、输入help 查看各种命令组。 命令是分组的,可以执行help 'general'查看general组的命令。 3、常用命令 --显示有哪些表 list --显示表的DDL信息 describe '表名' --创建表 create 'table n
分类:
系统相关 时间:
2016-02-26 23:32:15
阅读次数:
254
Flume使用方式要点1.*.conf文件agent1.sources=source1agent1.sinks=mysqlSinkagent1.channels=channel1#Describe/configuresource1agent1.sources.source1.type=execagent1.sources.source1.command=ftail.sh/data/phicomm-oa/tomcat-9999/logs/phicomm-oa.logagent1.sources...
分类:
Web程序 时间:
2016-02-25 17:10:30
阅读次数:
267
转自 http://lmws.net/describe-vs-context-in-rspec 学习rspec,不太理解describe和context。google了一下,找到这篇文章,感觉说的有些道理 1 在Rspec的世界里,我们经常看到人们使用descirbe代码块和context代码块 例
分类:
其他好文 时间:
2016-02-10 17:37:09
阅读次数:
796
1. mvn help:describe 你是否因为记不清某个插件有哪些goal而痛苦过,你是否因为想不起某个goal有哪些参数而苦恼,那就试试这个命令吧,它会告诉你一切的. 参数: 1. -Dplugin=pluginName 2. -Dgoal(或-Dmojo)=goalName:与-Dplug
分类:
其他好文 时间:
2016-02-09 22:13:33
阅读次数:
232