In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to use the WHERE clause in SQLite, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article.
WHERE clause in SQLite
The WHERE clause is used to filter rows from the worksheet generated by the FROM clause. It provides an expression to judge each line. This line is discarded when the value returned by the expression is false or NULL. This discarding only deletes the record and will not be treated as an error. Therefore, the resulting table filtered by the WHERE clause will have the same number of columns as the original table, but may have fewer rows. Figure 3.10 shows how the WHERE clause works.
Figure 3.10 how the WHERE clause works
[example 3-3] below we will use the WHERE clause to filter the output of records with scores greater than 60 in the Students table. The corresponding SQL statement is as follows:
SELECT * FROM Students WHERE Score > 60
Run the program and execute it as shown in figure 3.11.
Thank you for reading this article carefully. I hope the article "how to use the WHERE clause in SQLite" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.