You are on page 1of 8

SELECT

Gregory esteban canon Ramírez


67000225

Universidad católica de Colombia


Bases de datos
Bogotá d.c
2020
Introduction.

For many years, databases have been


used to solve problems in companies
with the subject of information and also
optimizing it for a safer and faster
handling.
As I mentioned before, databases have helped in all the professional fields
that currently exist, in sql there is a command called SELECT(sql) which is
one, not to say the most important, which helps us to bring specific
information from the databases. Data below will try to explain the syntax and
how it is used.
Objetives.

1. Objetive general

• explain in detail the use, its syntax and its clauses of the
select command (sql)

2. Objectives specific .

• show the syntax of the select command.


• expose some examples of queries with the select
command.
• make a conclusion of the written work on select.
• make a concept map of the select command.
Select
The SELECT statement is used to retrieve information from the database, and you can
project the selected columns, that is, perform a filter on the original table or tables and
retrieve only data from the filtered columns. You can also select, that is, filter the records
based on various criteria, or perform joins, which collect data from different tables through
a relationship between them.

Syntax SQL SELECT

Example

• For the examples, we will have the following table of people called "people"
• These are the data stored in the table "people"

• If we want to consult all the data in the table "people

• This will be the result:


Clauses.

Typically, a SELECT statement starts with a SELECT clause. A SELECT clause is used to specify
the names of the fields that contain the data that you want to use in a query. You can also
use expressions instead of or in addition to fields. You can even use another SELECT
statement as a field, this is known as a subquery.
Suppose you want to know the phone number of your customers. Assuming that the field
that stores customer phone numbers is named txtCustPhone, the SELECT clause is as
follows:

The SELECT clause specifies the columns of the final result table.

The column values are produced by the application of the select list to the final result table,
R. The select list is the names or expressions specified in the SELECT clause, and R is the
result of the previous operation of the subselect. For example, if the only clauses specified
are SELECT, FROM, and WHERE, R is the result of that WHERE clause.
conclusions


It can be concluded that the select command is very
important to be able to have information from any table,
whether general or specific.

• SQL allows us to enter commands or sentences in such


a way that we can manage or create a database this
variety of commands allows us to generate information
data from the creation, modification or maintenance
bibliography

• https://www.ejemplos.co/10-ejemplos-de-introduccion-de-un-texto/
• https://doc.4d.com/4Dv15/4D/15/SELECT.300-
2288146.es.htmlhttps://doc.4d.com/4Dv15/4D/15/SELECT.300-2288146.es.html
• https://tinchicus.com/2020/02/11/mysql-comando-select/
• https://cambrico.net/sql-y-plsql-de-oracle-con-ejemplos-practicos/consultas-sql-
sentencia-select
• http://sql.11sql.com/sql-select.htm
• http://empresayeconomia.republica.com/aplicaciones-para-empresas/que-son-y-
para-que-sirven-las-bases-de-datos.html
• http://sql.11sql.com/sql-select.htm
• https://www.ibm.com/support/knowledgecenter/SSEPGG_11.5.0/com.ibm.db2.lu
w.sql.ref.doc/doc/r0059204.html
• https://app.creately.com/diagram/raBbKx5FbWi/edit
• http://vanessasalazarortiz.blogspot.com/2013/06/conclusiones-basicas-de-
sql.html

You might also like