The Most Fundmental SQL Commands
SQL stands for Structured Query Langauge. It is the standardized programming language for relational databases.
In order to learn relational databases, you need to learn SQL first. The most basic SQL commands are CRUD which stands for Create, Read, Update and Delete.
- The typical CREATE commands examples:
create a database named
test
create a table
create a new user and password
- The typical READ commands examples:
select everything from table
one
select everything from table
one
by descending order
select the record whose id is
1
from tableone
select the records whose name begins with
xi
from tableone
- The typical UPDATE command example:
change the name of the record with id
1
toxiaohong
- The typical DELETE commands examples:
delete everything from table
one
delete the record with id = 2 from table
one
The above basic SQL commands are fundamental commands and are the basics for programming database web pages and applications.
There are plenty of SQL books out there. You can just grab one and it should serve your needs.