Database Programming
Microsoft Access
MySQL

What is a database query?

353637

Top Answer
User Avatar
Wiki User
Answered
2010-05-08 07:50:27
2010-05-08 07:50:27

A database query is a piece of code (a query) that is sent to a database in order to get information back from the database. It is used as the way of retriving the information from database

A database "query" is basically a "question" that you ask the database. The results of the query is the information that is returned by the database management system. Queries are usually constructed using SQL (structured query language) which resembles a high-level programming language.

The term 'query' means to search, to question, or to find. When you query a database, your searching for information in the database. Different query languages exist for different type of databases. MS Access uses SQL, which stands for Structured Query Language. MS Access contains Tables, Forms, and Queries. The Forms are used to enter or display the data, the Tables are where the data is saved, and the queries are used to search for specific data.

An example of an query can be this:

SELECT DISTINCT Agent FROM QAMonitoring ORDER BY Agent;

The query searches the 'Agent' field from the QAMonitoring table and sorts the list by last name. There are plenty of MS Access DB forums on the net for more info and help.

Creating a Simple Query in Microsoft Access

Have you ever wanted to combine information from multiple tables in your database in an efficient manner? Microsoft Access offers a powerful query function with an easy-to-learn interface that makes it a snap to extract exactly the information you need from your database. In this tutorial we'll explore the creation of a simple query.

In this example, as with all of our Access tutorials, we will use Access 2000 and the Northwind sample database included on the installation CD-ROM. If you're using an earlier version of Access, you may find that some of the menu choices and wizard screens are slightly different. However, the same basic principles apply to all versions of Access (as well as most database systems).

Let's explore the process step-by-step. Our goal in this tutorial is to create a query listing the names of all of our company's products, current inventory levels and the name and phone number of each product's supplier.

1. Open your database. If you haven't already installed the Northwind sample database, these instructions will assist you. Otherwise, go to the File tab, select Open and locate the Northwind database on your computer.

2. Select the queries tab. This will bring up a listing of the existing queries that Microsoft included in the sample database along with two options to create new queries.

3. Double-click on "create query by using wizard". The query wizard simplifies the creation of new queries. We'll use it in this tutorial to introduce the concept of query creation. In later tutorials we'll examine the Design view which facilitates the creation of more sophisticated queries.

789
๐ŸŽƒ
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Related Questions


You are searching the database or extracting data from the query.


yeah, database is a query language,, abd it is stored datas


Query Language is way for communicating from the database. It work as a interface between user and the Database. its not possible to generate a result from database without query language. Query language helps us to communicate with database.


A database "query" is basically a "question" that you ask the database. The results of the query is the information that is returned by the database management system. Queries are usually constructed using SQL (structured query language) which resembles a high-level programming language.


A database query is a piece of code (a query) that is sent to a database in order to get information back from the database. It is used as the way of retrieving the information from database.


Query is a statement which user gives in database.


SQL stands for Structured Query Language as it refers to the type of database query or database server which accepts the query.


In database the term query refers to question to the database for accessing any data. Example of query : select * from table-name gives you all the records from table.


A query.A query.A query.A query.A query.A query.A query.A query.A query.A query.A query.


Structure Query language is a standard language to maintain the relational database . By using this,we can update,delete,select,query the data in the database .


A query returns the records in the database that satisfy the parameters in the query.


a query allows you to select certain data


query is a request for retrive the information from the database.


The database we use is based on structured query language . To add or retrieve data from the database we use SQL . SQL is the structured query language that provides the syntax to add, modify, update or retrieve data from the database.


query is a measure used in a programming language viz. SQL to create, delete, store, modify the database.


A Query is a question in a database Hope this helped Mwahh! xx


A query can be used to do things with the data. Mostly it is to extract information from the database, but they can also be used to delete, edit and update a database. Queries are very important and powerful aspect of a database.


Any thing that has to do with database is a query lanquage. As in query the data to retrieve whatever you are looking for.


some of database query languages are:-CQL(contextual query language),SQL,DMX,Datalogue etc.


Do you mean why do you need a query in a database? But what ever it is I have absolutely no beeping clue but I should as we are studying this at school (yr 11)


A query is an SQL statement that is used to retrieve or modify data from database. A query that works dynamically is called dynamic query.


to change and analyse answers


it allows you to select certain data


Interrogating a database is the process of trying to get information from it. This is normally done using a query.


query() or mysql_query() are outdated, insecure functions used for communicating queries or "requests" to a database.



Copyright ยฉ 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.