Brought to you by EarthWeb
IT Library Logo

Click Here!
Click Here!


Search the site:
 
EXPERT SEARCH -----
Programming Languages
Databases
Security
Web Services
Network Services
Middleware
Components
Operating Systems
User Interfaces
Groupware & Collaboration
Content Management
Productivity Applications
Hardware
Fun & Games

EarthWeb Direct EarthWeb Direct Fatbrain Auctions Support Source Answers

EarthWeb sites
Crossnodes
Datamation
Developer.com
DICE
EarthWeb.com
EarthWeb Direct
ERP Hub
Gamelan
GoCertify.com
HTMLGoodies
Intranet Journal
IT Knowledge
IT Library
JavaGoodies
JARS
JavaScripts.com
open source IT
RoadCoders
Y2K Info

Teach Yourself SQL in 21 Days, Second Edition

Previous chapterNext chapterContents


Week 1 In Review

After setting the stage with a quick survey of database history and theory, Week 1 moved right into the heart of SQL with the SELECT statement. The following summary of the SELECT statement syntax includes cross-references to the days on which the particular aspect was covered:

  • SELECT [DISTINCT | ALL] (Day 2)--Columns (Day 1), Functions (Day 4)

  • FROM (Day 2)--Tables or Views (Day 1), Aggregate Functions (Day 4)

  • WHERE (Day 5)--Condition (Day 3), Join (Day 6), Subquery (Day 7)

  • GROUP BY (Day 5)--Columns (Day 3)

  • HAVING (Day 5)--Aggregate Function (Day 4)

  • UNION | INTERSECT (Day 3)--(Placed between two SELECT statements)

  • ORDER BY (Day 5)--Columns (Day 1)

If you build a million queries in your programming career, more than 80 percent of them will begin with SELECT. The other 20 percent will fall into the categories covered in Week 2.

Preview

The new skills you learn in Week 2 cover database administration. During Week 2 you will learn how to

  • Create and destroy tables

  • Assign permissions to your friends and prevent your enemies from even looking at your data

  • Update and delete data in tables


Previous chapterNext chapterContents


Macmillan Computer Publishing USA

© Copyright, Macmillan Computer Publishing. All rights reserved.

footer nav
Use of this site is subject certain Terms & Conditions.
Copyright (c) 1996-1999 EarthWeb, Inc.. All rights reserved. Reproduction in whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Please read our privacy policy for details.