Mysql-5-basic operations for data tables, mysql-5-basic operations1. create a table: Before using database database_name, create table name ();
For example, create an employee table tb_employee1 with the following structure:
Field name
MySQL5.6.17 how to configure the My. ini file for database installation, mysql5.6.17my. ini
I recently used the MySql database for project development. After reading some articles about MySql, I quickly started using it. Some problems still occur in
This article mainly introduces the summary of common commands for MySQL to view and clear tables. it is the basic knowledge in MySQL getting started. For more information, see
View MySQL database tablesGo to MySQL Command line client
View the
The index of mysql optimization is a comprehensive technology for mysql optimization, mainly including
A: table design rationalization (in line with 3NF)
B: add an appropriate index. [four types: General index, primary key index, unique index
Sometimes there are too many fields in the table, just remember the table comments. to search for the field name through field comments, you can use the following statement: SELECTCOLUMN_NAME,
MySql green edition configuration and usage details recently used the MySql database during project development. after reading some articles about MySql, I quickly started using it. Some problems still occur in the process of use, because the green
MySQL study Note 5: modifying the table (altertable) bitsCN.com we will inevitably consider the week before creating the table. Therefore, the alter table statement is required to modify the table later.
Modify table name
Mysql> alter table
MySQL study Note 5: modify the table bitsCN.com
When creating a table, we will inevitably consider the problem of weeks. Therefore, the table will be modified later.
The alter table statement is required to modify a table.
Modify table name
mysql>
The show and set commands are two commands used to maintain the SQL * Plus system variables.
The show and set commands are two commands used to maintain the SQL * Plus system variables.
SQL> show all -- View all 68 system variable values
SQL> show
This article introduces mysql database optimization and mysql web performance optimization. If you need to know about it, let's take a look.
This article introduces mysql database optimization and mysql web performance optimization. If you need to
PHP links to common MySQL extension functions, and php links to mysql
I. PHP database connection and basic operations
MySQL adopts the 'client/Server' architecture. Using the MySQL extension function installed in PHP is the same as directly
Basic Review of MYSQL and JDBC (I), basic review of mysqljdbc
1. Basic Database review:
1.1 What is a database? In essence, it is a file system. You can use SQL to add, delete, modify, and view data in the database.
1.2 common databases: MYSQL is
MySQL adds, modifies, and deletes columns. alter table: adds, modifies, and deletes TABLE columns, constraints, and other TABLE definitions.
View column: desc table name;Alter table old _ name rename to new_name;Add column: alter table name add
OracleDBA user management, oracledba user management
I would like to share with you the management of users in Oracle. The following are my Oracle learning notes stored on the database. I will share them with you today. For more information, see the
Oracle obtains table structure information: Table Name, view or not, field name, type, length, non-empty, primary key, and oracle View
select a.TABLE_NAME as "TableName", case when (select count(*) from user_views v where v.VIEW_NAME
1. Start and Exit 1. Enter MySQL: Start MySQL Command Line Client (DOS interface of MySQL) and enter the password for installation. At this time, the prompt is: mysql & gt; 2. exit MySQL: quit or exit 2. database operation 1. create database Command:
Install Oracle in Linux prepare to transmit oracle to the root directory through ssh (this installation is under VMware) LinuxforOracle11g installation package RedHat6.0 Virtual Machine 1, create a user and group
Sqlplus learning notes (2) set the length of the line to 200 characters and then line feed [SQL] set linesize 200 note: Sqlplus command does not need to write ";" Semicolon SQL statement must end with a semicolon, the Sqlplus command can be used as
Oracle_DAY 01 operation statement SQL> enter the oracle operation environment to query data -- DB -- orders Table External table is the basic unit of data storage in the database. The basic unit of data storage in the table is a row of table
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.