Databases| SQL| MySQL| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials:
 

Software Solutions and Services
 

 
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments
 
WHERE Statement in SQL 
 

WHERE clause is used with the SELECT keyword.

 

WHERE Clause in SQL 

                         

WHERE clause is used with the SELECT keyword. ' Where' is a clause which is used for searching the data with a particular condition.  

If the data in the table matches condition then it returns the specific value of that particular data.

Syntax

 

 

 

 

 

SELECT column FROM table
WHERE column operator value

 The following operators can be used:

Operator Description
= Equal
BETWEEN Between an inclusive range
LIKE

Search for a pattern

IN If you know the exact value you want to return for at least one of the columns

WHERE in SQL:

 we add a WHERE  to the SELECT statement: 

SELECT * FROM Persons
WHERE unit='india'

 

                         

» View all related tutorials
Related Tags: c sed field name create if index ie to ld ci e use pe in m clause cl spec me

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

2 comments so far (
post your own) View All Comments Latest 10 Comments:

Rose India is all implement are giving good.

Posted by Aravvind kuamr prasad on Saturday, 02.23.08 @ 15:58pm | #49663

what is the difference between dispatchActoin and LookupdispatchAction

Posted by raju on Tuesday, 09.18.07 @ 12:05pm | #27464

Training Courses
Tell A Friend
Your Friend Name
Website Designing Services
 
Web Designing Packages From $150!
 
Website Designing Company Web Hosting
 
Website Designing Quotation
 
Search Tutorials:

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.