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

推荐订阅源

J
Java Code Geeks
腾讯CDC
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
L
LangChain Blog
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
P
Proofpoint News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
IT之家
IT之家
A
About on SuperTechFans
H
Help Net Security

博客园 - 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.