惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
腾讯CDC
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
博客园 - 司徒正美
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
Vercel News
Vercel News
爱范儿
爱范儿
Last Week in AI
Last Week in AI
G
Google Developers Blog
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
有赞技术团队
有赞技术团队
D
DataBreaches.Net
博客园_首页
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
V
V2EX
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理

博客园 - asdfasdf

此站点不在更新,已转至 http://zwwon.cnblogs.com 从别的地方转来的 网址 Visual Modeling 那本书没看多少 CSS Essentials(2)-How to use CSS, CSS Essentials(1)-Instruction,Syntax XHTML Essitials(3)-Attribute XHTML Essential(2)- XHTML DTD,Vaidation,Modularization XHTML Essentials(1)-Introduction Introduction to SQL The alias "LM/W3SVC/1/Root/XX" already exists. Please choose a different alias Learn this books : Visual Modeling with Rational Rose 2000 and UNL Write,Speak and Think in English from now on! 怎么现在的软件都这样!! 安装CodeSmith Gmaill和MSN 8.0备忘 实例化带来的麻烦 逻辑运算符 乔迁新喜 常用网址--转
The SQL SELECT,WHERE Statement
asdfasdf · 2006-04-07 · via 博客园 - asdfasdf

1.SQL statements are not case sensitive. SELECT is the same as select. 2. SELECT Statement Syntax: SELECT column_name(s) FROM table_name SELECT LastName,FirstName FROM Persons SELECT * FROM Persons The SELECT DISTINCT Statement: *The DISTINCT keyword is used to return only distinct (different) values. The SELECT statement returns information from table columns. But what if we only want to select distinct elements? With SQL, all we need to do is to add a DISTINCT keyword to the SELECT statement:SELECT DISTINCT column_name(s) FROM table_name 3.WHERE With the WHERE clause, the following operators can be used: = Equal <> Not equal != > Greater than < Less than >= Greater than or equal <= Less than or equal BETWEEN Between an inclusive range LIKE Search for a pattern A "%" sign can be used to define wildcards (missing letters in the pattern) both before and after the pattern. SELECT * FROM Persons WHERE FirstName LIKE '%la%' NOTE: Using Quotes SQL uses single quotes around text values (most database systems will also accept double quotes). Numeric values should not be enclosed in quotes.