1. Method: Create a new Excel directly on the left and reference it from the database!
2. Open Excel, the cursor is automatically located at A1, don’t worry, data → Get data → From database → From SQL server database
3. After pressing Enter,
fill in your computer name as the server name as shown below (view method at the end of the article), fill in the first Just enter the input box and press Enter. There is no need to fill in the second input box
4. I directly filled in the above picture and pressed Enter as shown below: Select the table of the selected database and click the lowered load button! (You can also select multiple tables)
How to check the server name of your own computer:
This computer → Properties, the device name is the server name