Get the App
SLTechnology News&Howtos  ›  Database  › 

How to create a student table using SQL statements

Shulou Source: shulou.com Published: 2022-05-31 22:50:24 10月03日 Update

This article mainly introduces how to use SQL sentence to create a student table, the article is very detailed, has a certain reference value, interested friends must read it!

The method of creating a student table with sql statement is: first open the new query of SQL, create a new table; then enter the student number and name, the type is represented by characters; then enter gender, age, major; finally, click execute.

The method of creating a student table with an SQL statement

1. We open the new query of sql.

2. Let's build a table called student

3. We enter the student number and name, and the type is represented by characters.

4. We enter gender, age and major, which are defined by the appropriate type.

5. At this time, we press the execution.

6. We can see that the system shows that the table is built successfully.

The above is all the contents of the article "how to use SQL sentences to create a student table". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Students sentences input type major content name student number age gender method words articles queries success value interests boys buddies more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Technology Huawei vpn Shulou Tech Info