<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=LibreOffice-Suite-Base%2FC2%2FCreate-queries-using-Query-Wizard%2FEnglish</id>
		<title>LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=LibreOffice-Suite-Base%2FC2%2FCreate-queries-using-Query-Wizard%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&amp;action=history"/>
		<updated>2026-04-08T21:30:21Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&amp;diff=834&amp;oldid=prev</id>
		<title>Pravin1389: moved LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard /English to LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&amp;diff=834&amp;oldid=prev"/>
				<updated>2012-12-01T13:49:06Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php/LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard_/English&quot; class=&quot;mw-redirect&quot; title=&quot;LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard /English&quot;&gt;LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard /English&lt;/a&gt; to &lt;a href=&quot;/index.php/LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&quot; title=&quot;LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&quot;&gt;LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:49, 1 December 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Pravin1389</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&amp;diff=318&amp;oldid=prev</id>
		<title>Chandrika: Created page with '{| border=1 !Visual Cue !Narration |- |Show Slide Number 1  Spoken tutorial on LibreOffice Base: Create Queries using Wizard Learning Objectives * Create simple queries using the…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Base/C2/Create-queries-using-Query-Wizard/English&amp;diff=318&amp;oldid=prev"/>
				<updated>2012-11-27T14:46:32Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{| border=1 !Visual Cue !Narration |- |Show Slide Number 1  Spoken tutorial on LibreOffice Base: Create Queries using Wizard Learning Objectives * Create simple queries using the…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
!Visual Cue&lt;br /&gt;
!Narration&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 1 &lt;br /&gt;
Spoken tutorial on LibreOffice Base: Create Queries using Wizard&lt;br /&gt;
Learning Objectives&lt;br /&gt;
* Create simple queries using the Query wizard&lt;br /&gt;
* Select fields&lt;br /&gt;
* Set the sorting order of fields&lt;br /&gt;
* Provide search criteria or conditions&lt;br /&gt;
|Welcome to the Spoken tutorial on LibreOffice Base.&lt;br /&gt;
&lt;br /&gt;
In this tutorial, we will learn how to &lt;br /&gt;
&lt;br /&gt;
create simple queries using the Query wizard&lt;br /&gt;
&lt;br /&gt;
Select fields&lt;br /&gt;
&lt;br /&gt;
Set the sorting order of the fields&lt;br /&gt;
&lt;br /&gt;
And provide search criteria or conditions for a query&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 2&lt;br /&gt;
What is a query?&lt;br /&gt;
&lt;br /&gt;
Retrieve specific information from a database.&lt;br /&gt;
&lt;br /&gt;
Data can be returned based on given criteria&lt;br /&gt;
&lt;br /&gt;
Our example Library database has information on books and members&lt;br /&gt;
&lt;br /&gt;
Create Simple Queries&lt;br /&gt;
&lt;br /&gt;
Example of a Simple Query: List all members of the Library along with their phone numbers&lt;br /&gt;
|Let us first learn what a query is. &lt;br /&gt;
&lt;br /&gt;
A Query can be used to get specific information from a database.&lt;br /&gt;
&lt;br /&gt;
In other words, we can &amp;quot;query&amp;quot; the database for some data that matches a given criteria. &lt;br /&gt;
&lt;br /&gt;
For example, let us consider our familiar Library database example. &lt;br /&gt;
&lt;br /&gt;
We have stored information about books and members in our Library database. &lt;br /&gt;
&lt;br /&gt;
Now we can query the Library database for all the members of the Library. &lt;br /&gt;
&lt;br /&gt;
Or we can query the database for all the books that are not in the Library. &lt;br /&gt;
&lt;br /&gt;
Let us see how we can create a simple query using Base. &lt;br /&gt;
We will list all the members of the Library along with their phone numbers.&lt;br /&gt;
|-&lt;br /&gt;
|In the Base main window,&lt;br /&gt;
&lt;br /&gt;
Click on 'Queries' on the left panel, &lt;br /&gt;
Point cursor over the three options&lt;br /&gt;
&lt;br /&gt;
and click on 'Use Wizard to Create Query'&lt;br /&gt;
|We are in the Library database. You probably know how to open this by now.&lt;br /&gt;
&lt;br /&gt;
Let us click on the Queries icon on the left panel. &lt;br /&gt;
&lt;br /&gt;
On the right panel, we see three options.&lt;br /&gt;
&lt;br /&gt;
Since we are creating a simple query first, we will choose an easy and a fast method. &lt;br /&gt;
&lt;br /&gt;
And that is by using a Query Wizard. &lt;br /&gt;
&lt;br /&gt;
For creating complex queries, Base provides us with very handy options such as 'Create Query in Design View' and 'Create Query in SQL view', which we will learn about later.&lt;br /&gt;
&lt;br /&gt;
For now, let us click on 'Use Wizard to Create Query'.&lt;br /&gt;
|-&lt;br /&gt;
|In the popup window, &lt;br /&gt;
&lt;br /&gt;
Point mouse over the 8 steps on the left.&lt;br /&gt;
|Now, we see a popup window that says Query Wizard on the top. &lt;br /&gt;
&lt;br /&gt;
On the left, we see 8 steps that we will go through.&lt;br /&gt;
|-&lt;br /&gt;
|Show cursor movement as narration goes forward&lt;br /&gt;
&lt;br /&gt;
Click on Tables: Members in the tables drop down box.&lt;br /&gt;
&lt;br /&gt;
Double Click on the 'Name' field in the list on the left&lt;br /&gt;
&lt;br /&gt;
Double Click on 'Phone' on the left &lt;br /&gt;
&lt;br /&gt;
Click on the Next button&lt;br /&gt;
|We are in Step 1 - 'Field Selection'.&lt;br /&gt;
&lt;br /&gt;
On the right side, we see a drop down box underneath the label Tables. &lt;br /&gt;
&lt;br /&gt;
This is where we will select the source of the data that we need from this query.&lt;br /&gt;
&lt;br /&gt;
Since our example query is about getting a list of all the members of the Library, we will click on the Tables: Members from the drop down box.&lt;br /&gt;
&lt;br /&gt;
Now, let us double click on the 'Name' field in the Available fields list on the left and move it to the list box on the right. &lt;br /&gt;
&lt;br /&gt;
Next, let us click on the 'Phone' field on the left and move it to the right.&lt;br /&gt;
&lt;br /&gt;
Note that to move all the fields to the right we can use the double arrow button that points to the right.&lt;br /&gt;
&lt;br /&gt;
Now let us click on the Next button at the bottom.&lt;br /&gt;
|-&lt;br /&gt;
|Click on the top most drop down box, &lt;br /&gt;
And click on Members.Name.&lt;br /&gt;
&lt;br /&gt;
Click on the Ascending option. &lt;br /&gt;
&lt;br /&gt;
Click on Next button.&lt;br /&gt;
|Now we are in Step 2 - Sorting Order. &lt;br /&gt;
&lt;br /&gt;
Since the result of our query is a list of members and their phone numbers, we can leave this as is, &lt;br /&gt;
&lt;br /&gt;
Or we can order the list by member names. &lt;br /&gt;
&lt;br /&gt;
The Base Wizard, allows us to sort upto 4 fields in the result list at a time.&lt;br /&gt;
&lt;br /&gt;
For now, let us click on the top most drop down box, &lt;br /&gt;
&lt;br /&gt;
And click on Members.Name. &lt;br /&gt;
&lt;br /&gt;
We can also choose if we want to sort the names in ascending or descending order. &lt;br /&gt;
&lt;br /&gt;
Let us click on the Ascending option. &lt;br /&gt;
&lt;br /&gt;
And proceed to the next step.&lt;br /&gt;
|-&lt;br /&gt;
|Click on the Fields drop down box and then click on Members.Name. &lt;br /&gt;
&lt;br /&gt;
And then, click on the Condition drop down box &lt;br /&gt;
Point at the various options here, then click on 'Like'.&lt;br /&gt;
&lt;br /&gt;
Now in the Value text box, let us type in  'R%'&lt;br /&gt;
&lt;br /&gt;
Delete R% from the value text box, we dont need it now.&lt;br /&gt;
&lt;br /&gt;
Click on Next button.&lt;br /&gt;
|Step 3 - Search Conditions. &lt;br /&gt;
&lt;br /&gt;
This step will help if we want to limit our result set to some conditions. &lt;br /&gt;
&lt;br /&gt;
For example, we can limit the result set to only those members, whose name starts with the alphabet R. &lt;br /&gt;
&lt;br /&gt;
For this, we will click on the Fields drop down box and then click on the Members.Name. &lt;br /&gt;
&lt;br /&gt;
Now, click on the Condition drop down box. &lt;br /&gt;
&lt;br /&gt;
Notice the various conditions here; &amp;lt;pause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let us click on 'Like'. &lt;br /&gt;
&lt;br /&gt;
In the Value text box, let us type in ‘capital R’ and a ‘percentage symbol’. &lt;br /&gt;
&lt;br /&gt;
This is how we can introduce simple and complex conditions into our query. &lt;br /&gt;
&lt;br /&gt;
Let us now delete the 'R%' from the value text box to list all the members &lt;br /&gt;
&lt;br /&gt;
and click on the Next button.&lt;br /&gt;
|-&lt;br /&gt;
|Type in Member Name against Members.Name &lt;br /&gt;
&lt;br /&gt;
and type in Phone Number against Members.Phone.&lt;br /&gt;
&lt;br /&gt;
Click on Next button.&lt;br /&gt;
|Note that we have skipped to Step 7. &lt;br /&gt;
&lt;br /&gt;
This is because we are creating a simple query from a single table.&lt;br /&gt;
&lt;br /&gt;
And our query will return details and not summaries. &lt;br /&gt;
&lt;br /&gt;
Summary queries show data from aggregate functions and by grouping. &lt;br /&gt;
&lt;br /&gt;
Some examples are count of all the members, or sum of the prices of all the books. &lt;br /&gt;
&lt;br /&gt;
We will learn about these later.&lt;br /&gt;
&lt;br /&gt;
Okay, now here, let us set aliases;&lt;br /&gt;
&lt;br /&gt;
Meaning, let us provide friendly and descriptive labels or headers in the resulting list. &lt;br /&gt;
&lt;br /&gt;
So the 'Name' field can have an alias as 'Member Name' and the 'Phone' field can have an alias as 'Phone Number'.&lt;br /&gt;
&lt;br /&gt;
So let us type in these new aliases in the two text boxes&lt;br /&gt;
&lt;br /&gt;
and click on the Next button.&lt;br /&gt;
|-&lt;br /&gt;
|Type in 'List of all members and their phone numbers' against the 'Name of the Query label.&lt;br /&gt;
&lt;br /&gt;
Click on the 'Display Query' option on the top right side.&lt;br /&gt;
&lt;br /&gt;
Click on the Finish button.&lt;br /&gt;
|Now we are in Step 8 - the final step. &lt;br /&gt;
&lt;br /&gt;
Here let us give a nice descriptive name to our simple query. &lt;br /&gt;
&lt;br /&gt;
Let us type in 'List of all members and their phone numbers' against the 'Name of the Query’ label.&lt;br /&gt;
&lt;br /&gt;
Now notice that we see an overview of our choices in the wizard. &lt;br /&gt;
&lt;br /&gt;
And how do we want to proceed from here? &lt;br /&gt;
&lt;br /&gt;
Let us click on the 'Display Query' option on the top right side and  click on the Finish button.&lt;br /&gt;
|-&lt;br /&gt;
|Show cursor movement as narration goes forward&lt;br /&gt;
|The wizard window has closed and there is a new window whose title says, 'List of all members and their phone numbers'.&lt;br /&gt;
&lt;br /&gt;
Notice that we see all the four members that we originally entered in the Members table along with their phone numbers.&lt;br /&gt;
&lt;br /&gt;
Also, we see that, this list is arranged alphabetically in ascending order. &lt;br /&gt;
&lt;br /&gt;
So this is our first simple query.&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 3&lt;br /&gt;
Assignment: &lt;br /&gt;
Retrieve an alphabetical list of all the Books in the library. Query needs to be named ‘List of all books in the Library’&lt;br /&gt;
|Here is an assignment.&lt;br /&gt;
Create a query that will list all the Books in ascending order. &lt;br /&gt;
&lt;br /&gt;
Include all fields. &lt;br /&gt;
&lt;br /&gt;
Name it as ‘List of all books in the Library’.&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 4&lt;br /&gt;
&lt;br /&gt;
Summary &lt;br /&gt;
&lt;br /&gt;
* Create simple queries using the Query wizard&lt;br /&gt;
&lt;br /&gt;
* Select fields&lt;br /&gt;
&lt;br /&gt;
* Set the sorting order of field&lt;br /&gt;
&lt;br /&gt;
* Provide search criteria or conditions&lt;br /&gt;
|This brings us to the end of this tutorial on Creating Queries using Wizard in LibreOffice Base&lt;br /&gt;
&lt;br /&gt;
To summarize, we learned how to : &lt;br /&gt;
&lt;br /&gt;
Create simple queries using the Query wizard&lt;br /&gt;
&lt;br /&gt;
Select fields&lt;br /&gt;
&lt;br /&gt;
Set the sorting order of the fields&lt;br /&gt;
&lt;br /&gt;
And provide search criteria or conditions for a query.&lt;br /&gt;
|-&lt;br /&gt;
|Acknowledgement Slide&lt;br /&gt;
|Spoken Tutorial Project is a part of the Talk to a Teacher project, supported by the National Mission on Education through ICT, MHRD, Government of India. This project is co-ordinated by http://spoken-tutorial.org. More information on the same is available at the following link http://spoken-tutorial.org/NMEICT-Intro. This script has been contributed by Priya Suresh, DesiCrew Solutions Pvt Ltd. Thanks for joining.&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Chandrika</name></author>	</entry>

	</feed>