Tinkering-with-SQL
It’s SQL time⌗
Overview⌗
I will be making an SQL tutorial. Here’s the overall sequence of the tutorial:
- Introduction
- Installation
- Basic commands
- Advanced commands
- Conclusion
For the basic commands sections, I will be covering the following topics:
- Create database
- Drop database
- Create table
- Drop table
- Insert data
- Select data
- Update data
- Delete data
For the advanced commands sections, I will be covering the following topics:
- Join
- Group by
- Order by
- Having
- Subquery
- Index
- View
- Transaction
- Trigger
- Procedure
- Function
- Cursor
- Union
- Intersect
- Except
Introduction⌗
Installation⌗
Basic⌗
Create database⌗
Create table⌗
View table⌗
- To view the table, use the following command:
DESC table_name;
- or, use DESCRIBE instead of DESC.
DESCRIBE table_name;