Basic Mysql database knowledge and basic mysql knowledge
E-R model (Entity Relationship Model)
Currently, physical databases are designed according to the E-R model.
E Indicates entry, Entity
R indicates relationship, Relation
Convert an object
SQL is currently the most common relational database language. ANSISQL is a standard SQL language developed by the database Committee of the American National Institute of Standards (ANSI). most relational database products support standard SQL
Mysql official introduction to Insomecases, theservercreatesinternaltemporarytableswhileprocessingqueries. SuchatablecanbeheldinmemoryandprocessedbytheMEMORYstorage... mysql official introduction
In some cases, the server creates internal temporary
Disadvantages of MySQL indexes and what are the actual operations of MySQL indexes? bitsCN.com
The following articles mainly introduce the disadvantages of MySQL indexes and the actual operations of MySQL indexes, which deserves our attention, we
Evergrande mighty! Some basic knowledge about SQL review bitsCN.com
First, Evergrande Weiwu!
Start.
Relational algebra:
Currently, mainstream relational databases are built on relational algebra, that is, their mathematical support is relational
Ø basic common Query-- SelectSelect * from student;-- All query allSelect all sex from student;-- Duplicate distinct FilteringSelect distinct sex from student;-- Count statisticsSelect count (*) from student;Select count (sex) from student;Select
Indexes are divided into single-column indexes and composite indexes. A single-column index contains only one column. A table can have multiple single-column indexes, but this is not a combination index. A composite index contains multiple
Mysql index types and advantages and disadvantages, mysql index advantages and disadvantages
An index is a special file (an index on an InnoDB data table is an integral part of a tablespace) that contains reference pointers to all records in the
It seems that the execution sequence of each keyword is unclear when you write SQL statements, and the SQL statements that you organize often lack good logic. (Sorry, if your SQL statements are often pieced together, do you have to reflect on it ?,
Syntax format:EXPLAIN tbl_nameOr:Explain select select_optionsThe EXPLAIN statement can be used as a synonym for DESCRIBE, or used to obtain information about the SELECT statement to be executed by MySQL.The EXPLAIN tbl_name syntax is the same as
The following articles mainly introduce the disadvantages of MySQL indexes and the actual operations of MySQL indexes, which deserves our attention, we may not know that using indexes too much will cause abuse. Therefore, MySQL indexes also have
Oracle cursor and application instance 1. For Loop cursor: Define cursor definition cursor variable use for loop use this cursor www.2cto.com 2. Example of a cursor application: SQL code declare -- defines the cursor c_job is select empno, ename,
Do you have any knowledge about Oracle basic knowledge related to integrating functions and subqueries? As well as the practical application of these projects, the following is the introduction of the relevant content of the article. I hope you will
1. LEFTJOIN and COUNT (*) SELECTa. id, COUNT (*) FROMaLEFTJOINbONb. aa. idGROUPBYa. id: This query attempts to count the number of matched records in B for each record in. The problem is that in such a query, COUNT (*) will never return a 0. For a
The following article mainly introduces how to implement the select top n operation in Oracle. I saw the actual operations on the Oracle SELECT TOP N on the relevant website two days ago, I think it's good. I just want to share it with you.1.
Oracle: Summary of common plsql functions and oracleplsql
1. Implement Chinese-English character set conversion under SQLPLUS
alter session set nls_language='AMERICAN';alter session set nls_language='SIMPLIFIED CHINESE';
2. Operators
Arithmetic
Mysql statement Summary
Some time ago, my project was finally completed. The project mainly involves reports and a lot of SQL statements, so I would like to summarize it.I. Basics 1. Database-related commands
A>. Create a database
Create database
The following articles mainly introduce the disadvantages of MySQL indexes and the actual operations of MySQL indexes, which deserves our attention, we may not know that using indexes too much will lead to abuse.
The following articles mainly
Replace the variable (only for SQL * Plus or for development tools with the same principle as SQL * Plus): the temporary storage value can be used to create a common script.
Replace the variable (only for SQL * Plus or for development tools with the
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.