Copy Code code as follows:
drop table datasheet name (permanently deletes a data table)
Delete Record: Delete from table name where condition (rqjs_id=***)
Update all records: Update table name set field name = value
Update by
First, before the introduction of the use of functions to process data, the use of DBMS (database management system) to deal with the data caused by the problem!1. Unlike almost all DBMS support for SQL statements (such as Select), each DBMS has a
A string is usually used as an action object, such as finding a substring in a string, seeking a substring, inserting a substring at a point in a string, and deleting a substring. The necessary and sufficient condition for two strings to be equal is
-The 11th chapter uses data processing Functions "> 11th use data processing functionsThis chapter describes what functions are, what functions MySQL supports, and how to use these functions.-11.1 Function ">11.1 function"Like most other computer
PL/SQL single-line functions and group functionsA function is a program that has 0 or more parameters and has a return value. Oracle built a series of functions in SQL that can be called SQL or PLFunctions are divided into two main categories:Single-
Copy codeThe Code is as follows:Drop table data TABLE name (permanently delete a data TABLE)Delete record: delete from table name where condition (rqjs_id = ***)Update all records: update table name set field name = ValueConditional update: update
Mysql database Chinese-English comparison table bitsCN.com
-- Sentence skill-- Data operationsSELECT -- retrieve data rows and columns from database tablesINSERT -- add new data rows to the database tableDELETE -- DELETE data rows from a database
******************** -- Sentence skill-- Data OperationsSelect -- retrieve data rows and columns from database tablesInsert -- add new data rows to the database tableDelete -- delete data rows from a database tableUpdate -- update data in the
MySQL creates databases that support UTF-8 Encoding
GBK: Create Database 'test1' default Character Set GBK collate gbk_chinese_ci;UTF-8: Create Database 'test2' default Character Set utf8 collate utf8_general_ci;
Http://bbs.csdn.net/topics/360210527
-- Sentence skill-- Data OperationsSelect -- retrieve data rows and columns from database tablesInsert -- add new data rows to the database tableDelete -- delete data rows from a database tableUpdate -- update data in the database table-- Data
-- Sentence skill-- Data *Select -- retrieve data rows and columns from database tablesInsert -- add new data rows to the database tableDelete -- delete data rows from a database tableUpdate -- update data in the database table-- Data
********************
-- Sentence skill-- Data OperationsSelect -- retrieve data rows and columns from database tablesInsert -- add new data rows to the database tableDelete -- delete data rows from a database tableUpdate -- update data in the
-- Sentence skill-- Data OperationsSelect -- retrieve data rows and columns from database tablesInsert -- add new data rows to the database tableDelete -- delete data rows from a database tableUpdate -- update data in the database table-- Data
Description: Copy table (copy structure only, source table name: A new table name: b)Sql:select * to B from a where 1<>1Description: Copy table (copy data, source table name: A target table name: b)Sql:insert to B (A, B, c) select d,e,f from
SQL Statement Encyclopedia--Statement function--Data manipulationSELECT--Retrieve data rows and columns from a database tableINSERT--Adds a new row of data to the database tableDelete--delete rows of data from a database tableUpdate-Updates data in
PL/SQL single-line functions and group functionsA function is a program that has 0 or more parameters and has a return value. Oracle built a series of functions in SQL that can be called SQL or PLFunctions are divided into two main categories:Single-
********************
-- Sentence skill
-- Data Operations
SELECT -- retrieve data rows and columns from database tables
INSERT -- add new data rows to the database table
DELETE -- DELETE data rows from a database table
UPDATE -- UPDATE data in the
Transact_ SQL small manual
********************
-- Sentence skill
-- Data Operations
Select -- retrieve data rows and columns from database tables
Insert -- add new data rows to the database table
Delete -- delete data rows from a
Sentence skill-- Data Operations
Select -- retrieve data rows and columns from database tables
Insert -- add new data rows to the database table
Delete -- delete data rows from a database table
Update -- update data in the database table
--
The Code is as follows: DROPTABLE data table name (permanently delete a data table) delete record: deletefrom table name where condition (rqjs_id ***) update all records: update table name set field name value update by condition: update table name
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.