All language subtitles for 7. SELECT statement

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

In the last video, we learned how to insert the data in our table using the insert into and copy command.

Now let us look at how to retrieve this data from the table.

That is how to get back the records present in the customer table.

The level of data from tables is done using the select command.

Select Command is used to fetch the data from database and the result table that you get is called result

sets.

The syntax for command is as follows.

We select.

Then mention the columns that we want to retrieve.

Then comes the key word from.

And then we mention the table name.

If you want to get all the columns and do not need to and do not want to specify any particular column

or columns, we will use a wild card.

Wild card is a special symbol.

Wild card for selecting all columns is an aesthetics sign.

So if we select aesthetics from table name, it will give us all the columns of that particular table.

Let us look at the examples.

So to retrieve only one column, for example, say if you want just the first name of all the customers

that you have in your customer table, this is the query you will write.

Select first name from Customer table.

Customer table is the table name.

Let us go to admin and run this command.

Select first name.

From the table, which is customer table.

Semicolon.

Select this query and turn it.

You can see the output below.

It has the.

It records and only the first name is fetched.

Now let us go back to the presentation.

If we want to get multiple columns.

So for example, if we now want both first name and last name for the customer, we will mention both

the column names.

So let's go and fetch.

First name and last name from the customer table.

First name.

Coma.

Last name?

From customer table.

But I need.

You can see now we have the first name and the last name.

Retrieved from the database for all the records.

If you remember, we discussed that aesthetics wild card can be used to get all the columns.

Let us use aesthetics while God.

So we'll write select.

Start.

From.

Customer table.

And you can guess it will give us all the columns of this table.

So.

Customer ID.

First name.

Last Name.

Age.

Email ID.

All the columns are retrieved for all the records.

So this is how using the select statement, we retrieve data from the table.

In the next lecture, we will see if there is duplicate entries in the table and we want to identify

only the unique values.

How do we retrieve unique data from a table?

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.