0% found this document useful (0 votes)
68 views27 pages

Project File ICT T2

1) The document describes creating tables, queries, forms, and reports in OpenOffice Base. It includes steps to design tables and queries using wizards, SQL, and the design view. 2) Forms are created for an Employee and Marksheet table to allow data entry. Reports are also generated from these tables. 3) A variety of queries are written using different criteria, filters, calculations and sorting to extract and analyze data from the tables.

Uploaded by

Rayhan MR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views27 pages

Project File ICT T2

1) The document describes creating tables, queries, forms, and reports in OpenOffice Base. It includes steps to design tables and queries using wizards, SQL, and the design view. 2) Forms are created for an Employee and Marksheet table to allow data entry. Reports are also generated from these tables. 3) A variety of queries are written using different criteria, filters, calculations and sorting to extract and analyze data from the tables.

Uploaded by

Rayhan MR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 27

ICT Project File

OpenOffice Base

Rayhan M.R
(Grade 10) Term 2
Table 1: Design View and Queries
1) Open a New OpenOffice Base Window and save it as Project File
2) Go to Tables Tab. Click on Create Table in Design View
3) Enter all the fields; set the data types; and set the length of all fields and
decimal places for salary. Set EmpNo as Primary Key by Right-clicking on
it. Save the table as Employee.

4) Open the table in Table Data View. Enter 5 records.

T2 Project [Rayhan] 2|Page


Query Wizard 1

1) Go to Queries Tab. Click on Use Wizard to Create Query.


Select the Employee Table. Add EmpNo, EmpName and Designation
fields. Click on Search Conditions Step.

2) Set condition as Employee.Designation is equal to Team Manager

T2 Project [Rayhan] 3|Page


3) Go to Overview Step and type name as TeamManager. Click Finish

4) Now to not display Designation. Edit the query slightly in Query Design
and untick Visible for Designation

Team Manager Query Output

T2 Project [Rayhan] 4|Page


Query Wizard 2

1) Click on Use Wizard to Create Query and Select Employee Table. Add
Salary Field

2) Click Next. Sort by Employee.Salary Ascending

3) Go to Overview Step and Set Name as Salaries. Click Finish

T2 Project [Rayhan] 5|Page


Salaries Query Output

Query Design 1

1) Click on Create Query in Design View. Add the Employee Table. Add all
fields. Set Criterion for Salary as (>50000)

2) Save the Query as “Above 50000 Salary”

T2 Project [Rayhan] 6|Page


Query Design 2

1) Click on Create Query in Design View. Add the Employee Table. Add all
fields. Set Criterion for Salary as (>= 70000 AND <= 95000)

2) Save the query as “Salary70000to95000”

Query Design 3

1) Click on Create Query in Design View. Add the Employee Table. Add all
fields. Set Criterion for Designation as 'Team Lead'

2) Save the query as “TeamLead”

T2 Project [Rayhan] 7|Page


Query Design 4

1) Click on Create Query in Design View. Add the Employee Table. Add
EmpName, Salary and Gender Fields.
2) Set Criteria for Gender as ‘Female’. Untick Visible of Gender.

3) Save it as “FemaleEmployees”

T2 Project [Rayhan] 8|Page


Table 2: SQL, Forms and Reports
1) Go to Tools -> SQL to open Execute SQL Statement Window
Type Command as follows to create table. Click Execute.

2) Insert values by typing the below command.

T2 Project [Rayhan] 9|Page


Questions
1) Insert two records by using the following command

2) Add Grade Column (A1 to E20). Then set Grade values for each student.

T2 Project [Rayhan] 10 | P a g e
Queries
3) Go to Queries Tab and Click on Create Query in SQL View. Type following
command to display all records of Marksheet table.

4) Type following command to display name, rollno and grade from


marksheet table.

T2 Project [Rayhan] 11 | P a g e
5) Go to Create Query in Design View. Add Marksheet Table. Add Sub101
field twice. One the first one, set the Function as Maximum and
Minimum on second. Type the aliases as MaxSub101 and MinSub101

6) Go to Query SQL View and type following command to display sum of


marks for Sub102

T2 Project [Rayhan] 12 | P a g e
7) Type following command to display rollno, studno and name of those
whose name starts with A

8) Type following command to display studno and name of those whose


name’s second letter is i

T2 Project [Rayhan] 13 | P a g e
9) Type following command to display those whose name ends with n

10) First create Percentage column and set percentages of all students
through the command in SQL Statement Window.
Then type the next command to display those who got above 70 in
Query SQL View.

T2 Project [Rayhan] 14 | P a g e
11) Type following command to display those who got A1 and A2

T2 Project [Rayhan] 15 | P a g e
12) Type the following command to display all records in ascending
order of names

13) Type the following command to display rollno, name and grade
whose percentage is between 70 and 100

T2 Project [Rayhan] 16 | P a g e
14) Type the following command to display rollno, name, and sub
marks with increment of 5 in each subject

15) Type the following command to display those who failed in


sub102

T2 Project [Rayhan] 17 | P a g e
16) Type following command to display those who have sub103 less
than 3.3 or greater than 5.8

17) Type the following command to display records of sub101 in


descending order

T2 Project [Rayhan] 18 | P a g e
18) Go to Execute SQL Statement Window and type following
command to delete records who have scores less than 2 in any subject.

T2 Project [Rayhan] 19 | P a g e
Form 1: Employee
1) Go to the forms tab and click on Use Wizard to Create Form. Select the
Employee Table and Add all fields.

2) Then in Arrange Controls Step, select required formatting.

3) Apply styles and field borders in Apply styles step.

T2 Project [Rayhan] 20 | P a g e
4) Set form name as Employee and click on Finish.

5) Click on New Record button in Navigation Toolbar and type values for
fields. Repeat for second new record.

T2 Project [Rayhan] 21 | P a g e
Form 2: Marksheet
1) Click on Use Wizard to Create Form. Select Marksheet table and add all
fields.

2) Arrange the Controls.

3) Apply Styles

T2 Project [Rayhan] 22 | P a g e
6) Set Name as Marksheet and Click on Finish
7) Click on Record Search button, select which field to search in, and type
the text.

T2 Project [Rayhan] 23 | P a g e
Report 1: Employee
1) Go to Reports Window and Select Use Wizard to Create Report
2) Select Employee Table and add all fields

3) Choose the layout

T2 Project [Rayhan] 24 | P a g e
4) Set Title as Employee and Click on Finish

T2 Project [Rayhan] 25 | P a g e
Report 2: Marksheet
1) Click on Use Wizard to Create Report
2) Select the Marksheet table and add all fields

3) Choose Layout

T2 Project [Rayhan] 26 | P a g e
4) Save report as Marksheet. Click on Finish

T2 Project [Rayhan] 27 | P a g e

You might also like