SQL Tips
A boat with beautiful sunset.
Tree in field with blue sky.
Amaizing sunrise moment
Sunday, March 18, 2012
Limiting the Rows Selected
We can restrict the rows returned from the query by using the WHERE clause.
Syntax :
SELECT * | { [DISTINCT] column / expression [alias],...} FROM table [WHERE condition ];
Example :
SELECT name,job,FROM dept WHERE emp_id = 101;
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment