SQL Tutorial - Learn SQL




SQL Tutorial
SQL Database Table
SQL SELECT
SQL SELECT INTO
SQL DISTINCT
SQL WHERE
SQL LIKE
SQL INSERT INTO
SQL UPDATE
SQL DELETE
SQL ORDER BY
SQL OR & AND
SQL IN
SQL BETWEEN
SQL Aliases
SQL COUNT
SQL MAX
SQL MIN
SQL AVG
SQL SUM
SQL GROUP BY
SQL HAVING
SQL JOIN

Oracle Interview Questions
Cheap Study Guides
Cisco CCNA Guides
IT interview Questions
Comptia Exam Questions
MCSE Bootcamp
Oracle 10g Training
Oracle OCP Material
PMP Study Guides
Designer Perfumes




SQL SELECT

The SQL SELECT statement is used to select data from a SQL database table. This is usually the very first SQL command every SQL newbie learns and this is because the SELECT SQL statement is one of the most used SQL commands.

Please have a look at the general SQL SELECT syntax:


SELECT Column1, Column2, Column3,
FROM Table1

The list of column names after the SQL SELECT command determines which columns you want to be returned in your result set. If you want to select all columns from a database table, you can use the following SQL statement:


SELECT *
FROM Table1

When the list of columns following the SELECT SQL command is replaced with asterix (*) all table columns are returned. Word of caution here, it’s always better to explicitly specify the columns in the SELECT list, as this will improve your query performance significantly.

The table name following the SQL FROM keyword (in our case Table1) tells the SQL interpreter which table to use to retrieve the data.



Oracle OCP Exam Guides






If you want to contact us please email to
contact @ oraclesource.net


Link to OracleSource


Bookmark OracleSource


Copyright





  © OracleSource.net. 2000-2006  



Partner Sites:  Java Interview Questions | SAP Interview Questions | Oracle DBA Interview Questions | Cisco Study Guides | CompTIA Braindumps | MCSE Braindumps | Oracle Certification | Exact Questions | IT Interview Questions | Free Oracle Training | Cheap Study Guides

Microsoft MCSE Resources  |   Cisco CCNA Resources  |   Orace OCP Resources  |   PMP Resources  |   CISSP Resources  |   Citrix Resources  |   CIW Resources  |   CompTIA A+ Resources  |   Linux Resources  |   Java SCJP Resources  |   Resources Index  |   Free Programming Tutorials