Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
0 views

SQL-Tutorial---Basic-Comm.3980874.powerpoint

The document is a tutorial on basic SQL commands, covering topics such as database basics, and key SQL commands like SELECT, WHERE, ORDER BY, GROUP BY, and HAVING. It explains the structure of relational databases, including tables, columns, and rows. The tutorial provides a brief introduction to the SELECT statement syntax for retrieving data from a database table.

Uploaded by

kensuyat31
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

SQL-Tutorial---Basic-Comm.3980874.powerpoint

The document is a tutorial on basic SQL commands, covering topics such as database basics, and key SQL commands like SELECT, WHERE, ORDER BY, GROUP BY, and HAVING. It explains the structure of relational databases, including tables, columns, and rows. The tutorial provides a brief introduction to the SELECT statement syntax for retrieving data from a database table.

Uploaded by

kensuyat31
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

SQL Tutorial

Basic SQL Commands

© 2013 1keydata.com All Rights Reserved


Agenda
• Database Basics
• SQL Commands
– SELECT … FROM
– WHERE
– ORDER BY
– GROUP BY
– HAVING

© 2013 1keydata.com All Rights Reserved


Database Basics
In a relational database, data is stored in tables.

Tables

Database
© 2013 1keydata.com All Rights Reserved
Database Basics
Each table consists of columns and rows. Each column is a
field in a record, and there is a column name associated with
each column. Columns
Tables

Database
© 2013 1keydata.com All Rights Reserved
Database Basics
Each row represents one record. When we say how many
records we have, we are referring to the number of rows.
Columns
Tables

Rows

Database
© 2013 1keydata.com All Rights Reserved
SELECT … FROM
SQL is structured similar to the English language. The basic
command for retrieving data from a database table is to
SELECT data FROM a table. Not surprisingly, the keywords
"SELECT" and "FROM" make up the core of a SQL
statement.

The syntax for “SELECT… FROM” is:


SELECT “COLUMN_NAME”
FROM “TABLE_NAME”

© 2013 1keydata.com All Rights Reserved


Interesting, right?
This is just a sneak preview of the full presentation. We hope you like
it! To see the rest of it, just
click here to view it in full on PowerShow.com. Then, if you’d like, you
can also log in to PowerShow.com to download the entire
presentation for free.

You might also like