SQL là một chuẩnSQL là một chuẩn của ANSI (American National Standards dịch - SQL là một chuẩnSQL là một chuẩn của ANSI (American National Standards Anh làm thế nào để nói

SQL là một chuẩnSQL là một chuẩn củ

SQL là một chuẩn
SQL là một chuẩn của ANSI (American National Standards Institute - Viện tiêu chuẩn quốc gia Hoa kỳ) về truy xuất các hệ thống CSDL. Các câu lệnh SQL được sử dụng để truy xuất và cập nhật dữ liệu trong một CSDL.
SQL hoạt động với hầu hết các chương trình CSDL như MS Access, DB2, Informix, MS SQL Server, Oracle, Sybase v.v...
Lưu ý: Hầu hết các chương trình CSDL hỗ trợ SQL đều có phần mở rộng cho SQL chỉ hoạt động với chính chương trình đó.
Bảng CSDL
Một CSDL thường bao gồm một hoặc nhiều bảng (table). Mỗi bảng được xác định thông qua một tên (ví dụ Customers hoặc Orders). Bảng chứa các mẩu tin - dòng (record - row), là dữ liệu của bảng.
Dưới đây là một ví dụ về một bảng có tên là Persons (người):
LastName FirstName Address City Hansen Ola Timoteivn 10 Sandnes Svendson Tove Borgvn 23 Sandnes Pettersen Kari Storgt 20 Stavanger
Bảng ở trên bao gồm 3 mẩu tin (dòng), mỗi mẩu tin tương ứng với một người, và bốn cột (LastName, FirstName, Address và City).
Câu truy vấn SQL
Với SQL ta có thể truy vấn CSDL và nhận lấy kết quả trả về thông qua các câu truy vấn.
Một câu truy vấn như sau:
SELECT LastName FROM Persons
Sẽ trả về kết quả như sau:
LastName Hansen Svendson Pettersen
Lưu ý: Một số hệ thống CSDL đòi hỏi câu lệnh SQL phải kết thúc bằng một dấu chấm phảy (;). Chúng ta sẽ không dùng dấu chấm phảy trong bài viết này.
SQL là ngôn ngữ thao tác dữ liệu (DML - Data Manipulation Language)
SQL là cú pháp để thực thi các câu truy vấn. SQL cũng bao gồm cú pháp để cập nhật - sửa đổi, chèn thêm và xoá các mẩu tin.
Sau đây là danh sách các lệnh và truy vấn dạng DML của SQL:
SELECT - lấy dữ liệu từ một bảng CSDL.
UPDATE - cập nhật/sửa đổi dữ liệu trong bảng.
DELETE - xoá dữ liệu trong bảng.
INSERT INTO - thêm dữ liệu mới vào bảng.
SQL là ngôn ngữ định nghĩa dữ liệu (DDL - Data Definition Language)
Phần DDL của SQL cho phép tạo ra hoặc xoá các bảng. Chúng ta cũng có thể định nghĩa các khoá (key), chỉ mục (index), chỉ định các liên kết giữa các bảng và thiết lập các quan hệ ràng buộc giữa các bảng trong CSDL.
Các lệnh DDL quan trọng nhất của SQL là:
CREATE TABLE - tạo ra một bảng mới.
ALTER TABLE - thay đổi cấu trúc của bảng.
DROP TABLE - xoá một bảng.
CREATE INDEX - tạo chỉ mục (khoá để tìm kiếm - search key).
DROP INDEX - xoá chỉ mục đã được tạo.
0/5000
Từ: -
Sang: -
Kết quả (Anh) 1: [Sao chép]
Sao chép!
SQL is a standardSQL is a standard of ANSI (American National Standards Institute-American National Standards Institute) to retrieve the DATABASE system. SQL statements are used to retrieve and update data in a DATABASE.SQL works with almost any DATABASE program such as MS Access, DB2, Informix, MS SQL Server, Oracle, Sybase etc.Note: most DATABASE programs support SQL feature extensions to SQL just works with that program.DATABASE TableA common DATABASE consists of one or more tables. Each table is identified by a name (e.g. Customers or Orders). The table contains the message-line (record-row), the data of the table.Here is an example of a table of named Persons (person):LastName FirstName Address City Hansen Ola 10 Timoteivn 23 Borgvn Tove Pettersen Sandnes Svendson Sandnes Kari Storgt 20 StavangerThe table above contains three pieces of information (line), each message is associated with a person, and the four columns (LastName, FirstName, Address, and City).SQLWith SQL, DATABASE queries and can receive results returned through the query.A query is as follows:SELECT LastName FROM PersonsReturns the result as follows:LastName Hansen Svendson PettersenLưu ý: Một số hệ thống CSDL đòi hỏi câu lệnh SQL phải kết thúc bằng một dấu chấm phảy (;). Chúng ta sẽ không dùng dấu chấm phảy trong bài viết này.SQL là ngôn ngữ thao tác dữ liệu (DML - Data Manipulation Language)SQL là cú pháp để thực thi các câu truy vấn. SQL cũng bao gồm cú pháp để cập nhật - sửa đổi, chèn thêm và xoá các mẩu tin.Sau đây là danh sách các lệnh và truy vấn dạng DML của SQL:SELECT - lấy dữ liệu từ một bảng CSDL.UPDATE - cập nhật/sửa đổi dữ liệu trong bảng.DELETE - xoá dữ liệu trong bảng.INSERT INTO - thêm dữ liệu mới vào bảng.SQL là ngôn ngữ định nghĩa dữ liệu (DDL - Data Definition Language)Phần DDL của SQL cho phép tạo ra hoặc xoá các bảng. Chúng ta cũng có thể định nghĩa các khoá (key), chỉ mục (index), chỉ định các liên kết giữa các bảng và thiết lập các quan hệ ràng buộc giữa các bảng trong CSDL.Các lệnh DDL quan trọng nhất của SQL là:CREATE TABLE - tạo ra một bảng mới.ALTER TABLE - thay đổi cấu trúc của bảng.DROP TABLE - xoá một bảng.CREATE INDEX - tạo chỉ mục (khoá để tìm kiếm - search key).DROP INDEX - xoá chỉ mục đã được tạo.
đang được dịch, vui lòng đợi..
Kết quả (Anh) 2:[Sao chép]
Sao chép!
SQL is a standard
ANSI SQL is a standard (American National Standards Institute - National Institute of Standards United States) about publishing the database system. SQL statements are used to retrieve and update data in a database.
SQL works with most database programs like MS Access, DB2, Informix, MS SQL Server, Oracle, Sybase etc ..
Note: Most programs have SQL database support for SQL extensions only work with the program itself.
Table Database
A database often includes one or more tables (table). Each table is identified by a name (eg, Customers or Orders). Tables contain records - line (record - row), the data of the table.
Here is an example of a table called Persons (people):
LastName FirstName Address City Hansen Ola Tove Svendson Timoteivn 10 Borgvn 23 Sandnes Sandnes Pettersen Kari Storgt 20 Stavanger
The table above includes 3 items (rows), each record corresponds to a person, and four columns (LastName, FirstName, Address, and City).
The SQL query
With SQL query we can database and have a result set returned by the query.
A query as follows:
SELECT LastName FROM Persons
Will return the following results:
LastName Hansen Svendson Pettersen
Note: Some database systems require statements SQL must end with a semicolon (;). We will not use the semicolon in this article.
SQL data manipulation language (DML - Data Manipulation Language)
SQL syntax to execute the query. SQL also includes a syntax to update - modify, add and delete records.
The following is a list of commands and query types of SQL DML:
SELECT - retrieve data from a database table.
UPDATE - update / modify data in the table.
DELETE - delete data in the table.
INSERT INTO - adding new data to the table.
SQL data definition language (DDL - Data Definition Language)
section of SQL DDL allows the creation or delete the table. We can also define indexes (keys), indexes (index), specify the links between the tables and establish binding relationships between tables in the database.
The most important DDL statements in SQL are :
CREATE TABLE - create a new table.
ALTER TABLE - change the structure of the table.
DROP TABLE - remove a table.
CREATE INDEX - creates an index (search keywords - search key).
DROP INDEX - remove the index has created.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: