How to use SQL statements for acess Databases

Source: Internet
Author: User
Tags how to use sql

Acess database is a very simple database management software. It is window-oriented or dialog box-oriented. It seems that SQL statements are useless.

The following article describes how to use SQL statements on acess.

From: http://www.dzwebs.net/2620.html

Key point: when creating a query, right-click the query and select "SQL View!

Although I do not like the ACCESS database very much, I recently had to use the ACCESS database because of my work needs. During this period, I encountered a problem,How to directly enter an SQL statement in the ACCESS database and use it to query data?

It is not easy to find this function because there is no menu prompt or tooltip. After a long time, I found the method to directly use SQL statements. Now, I will share it with you, hope to help you.

First, to directly use SQL statements in an Access database,You must first create a query.

For example, SELECT query in the Database "object" and click "design "!

 

A dialog box such as is displayed!

To add a data source to the query object. In this example, the "Student renewal table" is displayed. Then, the "display table" dialog box is closed! Returned result!

, In the query operation interfaceRight-clickIn the left-side Navigation Pane. For example, select"SQL View". Finally, the SQL statement code input window appears, as shown in!

In this case, we can enter the correct SQL statement.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.