SQL Server Language Basics

Source: Internet
Author: User

First, create a practice database;

Create a student information sheet student
The column names were:
Code (INT)
Name (varchar ()) NOT NULL
Birth (varchar ()) NOT NULL
Sex (char ()) NOT NULL
Scoore (Decimal (18,2))
Insert Information:
Zhang San, John Doe, Harry, Zhao Liu, Feng Qi, Liu Ba
1) All inquiries
2) query a column (name)
3) query multiple columns (name, gender, birthday)
4) query one row according to the criteria (code=2)
5) Find a data based on the criteria (the name of code 2)
6) Find multiple data according to the criteria (Code 2 name gender)
7) Insert a piece of data (own information)
8) Change the birthday of the student with code 5 to 1990-1-1
9) Delete the data
of the student code 5 , sort

SQL Server Language Basics

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.