Project File ICT T2
Project File ICT T2
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) Now to not display Designation. Edit the query slightly in Query Design
and untick Visible for Designation
1) Click on Use Wizard to Create Query and Select Employee Table. Add
Salary Field
Query Design 1
1) Click on Create Query in Design View. Add the Employee Table. Add all
fields. Set Criterion for Salary as (>50000)
1) Click on Create Query in Design View. Add the Employee Table. Add all
fields. Set Criterion for Salary as (>= 70000 AND <= 95000)
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'
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”
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.
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
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
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
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
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.
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.
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
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