Amazon.com: PC Books || Educational Software || Magazines
Amazon: Books-CA || Software-CA || Books-UK || Software-UK

HTML | Javascript | ASP | PHP | VBScript | SQL | Hardware | PC FAQ| WinXP|

Learn to Build, Upgrade, or Repair your Computer Ebook + PC Safety 101 kwwebservice.com Reasonably priced web development & hosting
SQL Basics
Introduction
Create Tables
Data Type
Delete/Modify Table
Add Rows
Create Sequence
Quiries
Single-Row Function
Group Functions
Joints
Create Views
Books @
CA Amazon
UK Amazon
US Amazon

  :: Home
PC Topics
  :: Build A PC
  :: Windows XP
  :: PC Help
Tutorials
  :: HTML
  :: JavaScript
  :: ASP
  :: PHP
  :: VBScript
  :: SQL
Miscellaneous
  :: Code/Scripts
  :: Forum
  :: Links
  :: Contact us
  :: Tell A Friend
  :: In Somali
  ::
Web Articles
  Top Web Hosting
Reviews
  Processing
Online Card Payment Guide
  Domain name
registration & buying guide
  Getting
a website online guide
  Search Engine
submission & optimization tips
Netfirms Web Hosting
Free trial
Quality business correspondence.
Yahoo! Search Marketing

Sub Queries

Sub queries is select statement that appears as part of another SQL statement.  Sub query is used when comparing data from different tables is parenthesized whiting the where clause.
SELECT first_name, last_name
FROM employees
WHERE department_id = (SELECT department_id
FROM department
                                        WHERE section_id = 1112);
The above sample lists first name and last name of all the employees from section 1112.  You can tell that the section ID is not in the employee table department ID is, and section ID is in the department table.
SELECT first_name, last_name
FROM employee
WHERE employee_id = (SELECT employee_id
FROM managers);
This sub query lists employees whom exist both in the employees and managers tables

Retrieve Data (Quiry) Single-Row Functions
Bluehost.com Web Hosting $6.95
Listed @ ConsumerVote.com - The Consumer Rated Web Directory
PC System Tools
SpyCleaner
Registry Mechanic
4Diskclean Pro
Health PC Club
TweakNow
Registry Washer
SpyAnyWhere
System Lifeguard
...More/Details

PC Articles
  Computer Safety
prevent viruses & Spyware