支持数据库:
SQL Server, MySQL, PostgreSQL, Oracle, DB2, ANSI SQL, ODBC
地址:http://www.petefreitag.com/tools/sql_reserved_words_checker/
演示:
|
||||
|
支持数据库: SQL Server, MySQL, PostgreSQL, Oracle, DB2, ANSI SQL, ODBC 地址:http://www.petefreitag.com/tools/sql_reserved_words_checker/ 演示: 1. Attribute : [普] 属性, 品质, 特征 Represents[表现,描绘] a type of characteristic or property with a set of real or abstract things(People, Places, Events and so on); 2. Entity: [普] 实体 An Entity represents a set of real or abstract things(People, Places, Event and so on) that have common attributes or characteristics. 3. Logic [...] 有两个表,如下: mysql> SELECT * FROM Class; +———-+——–+ | Class_ID | Name | +———-+——–+ | 1 | 2008A | | 2 | 2008B | | 3 | 2008C | +———-+——–+ 3 rows in set [...] 使用工具: phpMyAdmin, MySQLBroswer, 命令提示行[Windows下须将mysql目录中的bin添加到环境变量PATH中]. 1. 连接的建立与退出: mysql –u root –p 或登陆后直接选定某数据库 mysql –u root –p [数据库名称] 输入密码即可建立连接; 输入quit或exit即可关闭连接. 2. 数据库[DataBase]的建立与删除: mysql>CREATE DATABASE School; mysql>DROP DATABASE School; 3. 表[Table]的增加, 修改与删除: 表的见 首先应选定某数据库: mysql>use School; 表的建立 然后建立一个班级表Class, 包含有班级ID, 非空, 自增, 为该表的主键; 班级名称 varchar(255); [...] |
||||
|
Copyright © 2010 戈壁滩上的狗尾巴花 - All Rights Reserved
|
||||
最新的三6条正面评论