Graphic SQLite tutorial, graphic sqlite

Source: Internet
Author: User
Tags sqlite tutorial

Graphic SQLite tutorial, graphic sqlite

The following operations are successful on your own. No nonsense.

SQLite3 download: http://pan.baidu.com/s/1o6jzyX0

Decompress sqlite3.exe and copy it to the desired directory.

Note that the following command line is white, not notepad.

 

1. Start, create a database, and view the database;

After the sqlite3 d: \ test. db file is successfully input during the operation, check the disk d. The file test. db file is not displayed. The file appears only after the. database Command is completed.

 

2. Create a table, view the table, view the table structure, and insert data;

 

3. Sqlite paging writing;

 

4. the query result is output to the file;

 

 

 

5. wildcard query problem diagram;

 

The figure 2 above shows that the query result is faulty. It is believed that this is a problem caused by wildcard matching of Chinese characters; a Chinese character is two bytes;

Create a new table as shown in the following figure and query the wildcards. The result is correct;

Note that the wildcard _ is not -;

 

 

Figure 2 below,

Select A person whose city starts with A, L, or N;
Select the person whose city starts with L or B;
If no result is obtained, it is estimated that the wildcard operation of Sqlite does not support [];

 

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.