Yuav Ua Li Cas Ntxiv SQL Lus Nug hauv Microsoft Excel: 13 Kauj Ruam

Cov txheej txheem:

Yuav Ua Li Cas Ntxiv SQL Lus Nug hauv Microsoft Excel: 13 Kauj Ruam
Yuav Ua Li Cas Ntxiv SQL Lus Nug hauv Microsoft Excel: 13 Kauj Ruam

Video: Yuav Ua Li Cas Ntxiv SQL Lus Nug hauv Microsoft Excel: 13 Kauj Ruam

Video: Yuav Ua Li Cas Ntxiv SQL Lus Nug hauv Microsoft Excel: 13 Kauj Ruam
Video: nyiag nkag koj tus hluas nkauj tus messenger ua koj twb g paub password 2024, Kaum ib hlis
Anonim

Kab lus no yuav coj cov neeg siv los ntxig SQL cov lus nug hauv Excel 2010 thiab tsim kev sib txuas zoo.

Kauj ruam

Embed SQL Query hauv Microsoft Excel Kauj Ruam 1
Embed SQL Query hauv Microsoft Excel Kauj Ruam 1

Kauj Ruam 1. Nyem rau Cov Ntaub Ntawv tab, tom qab ntawv xaiv Los Ntawm Lwm Qhov Chaw raws li qhia hauv qab no duab

Embed SQL Query hauv Microsoft Excel Kauj Ruam 2
Embed SQL Query hauv Microsoft Excel Kauj Ruam 2

Kauj Ruam 2. Xaiv "Los Ntawm Cov Ntaub Ntawv Txuas Txuas" los ntawm cov ntawv qhia zaub mov nco

Embed SQL Query hauv Microsoft Excel Kauj Ruam 3
Embed SQL Query hauv Microsoft Excel Kauj Ruam 3

Kauj Ruam 3. Qhov Kev Pabcuam Cov Ntaub Ntawv Txuas Txuas qhov rai yuav qhib

Xaiv "ODBC DSN" los ntawm cov kev xaiv muaj, tom qab ntawv nyem "Tom ntej".

Embed SQL Query hauv Microsoft Excel Kauj Ruam 4
Embed SQL Query hauv Microsoft Excel Kauj Ruam 4

Kauj Ruam 4. Lub qhov rai ODBC Cov Ntaub Ntawv Cov Ntaub Ntawv yuav qhib thiab tso saib cov npe ntawm cov chaw khaws cia hauv lub koom haum

Xaiv cov ntaub ntawv tsim nyog, tom qab ntawv nyem "Tom ntej".

Embed SQL Query hauv Microsoft Excel Kauj Ruam 5
Embed SQL Query hauv Microsoft Excel Kauj Ruam 5

Kauj Ruam 5. Qhov Xaiv Database thiab Table window yuav tshwm

Embed SQL Query hauv Microsoft Excel Kauj Ruam 6
Embed SQL Query hauv Microsoft Excel Kauj Ruam 6

Kauj Ruam 6. Tam sim no koj tuaj yeem xaiv lub database thiab cov lus uas muaj cov ntaub ntawv koj xav rub

Xaiv cov ntaub ntawv tsim nyog.

Embed SQL Query hauv Microsoft Excel Kauj Ruam 7
Embed SQL Query hauv Microsoft Excel Kauj Ruam 7

Kauj Ruam 7. Nyem Ua tiav ntawm "Txuag Cov Ntaub Ntawv Txuas Cov Ntaub Ntawv thiab Ua tiav" qhov rai

Lub qhov rai yuav tso saib cov npe ntaub ntawv raws li cov ntaub ntawv xaiv ntawm lub vijtsam dhau los.

Embed SQL Query hauv Microsoft Excel Kauj Ruam 8
Embed SQL Query hauv Microsoft Excel Kauj Ruam 8

Kauj Ruam 8. Qhov Ntshuam Cov Ntaub Ntawv qhov rai yuav tshwm sim

Hauv lub qhov rai no, xaiv cov ntaub ntawv tsim nyog, tom qab ntawd nyem "OK".

Embed SQL Query hauv Microsoft Excel Kauj Ruam 9
Embed SQL Query hauv Microsoft Excel Kauj Ruam 9

Kauj Ruam 9. Xaiv "Los ntawm Cov Ntaub Ntawv Txuas Txuas" los ntawm cov ntawv qhia zaub mov nco

Embed SQL Query hauv Microsoft Excel Kauj Ruam 10
Embed SQL Query hauv Microsoft Excel Kauj Ruam 10

Kauj Ruam 10. Nyem rau Cov Ntaub Ntawv tab, tom qab ntawd nyem Txuas

Hauv lub qhov rai tom ntej, nyem Properties.

Embed SQL Query hauv Microsoft Excel Kauj Ruam 11
Embed SQL Query hauv Microsoft Excel Kauj Ruam 11

Kauj Ruam 11. Qhib Cov Lus Txhais tab hauv lub qhov rai tom ntej

Embed SQL Query hauv Microsoft Excel Kauj Ruam 12
Embed SQL Query hauv Microsoft Excel Kauj Ruam 12

Kauj Ruam 12. Sau SQL cov lus nug hauv kab lus "Command Text", tom qab ntawv nyem "OK"

Excel yuav tso saib cov lus nug cov ntaub ntawv.

Pom zoo: