Professional Documents
Culture Documents
ACCESS
ACCESS
ACCESS
b. Customer Details
i. Set the Primary Key as Customer Code
c. Item Details
i. Set the Primary Key as Item Code
4. Create a customized data entry form by using the query Invoice and save it as Invoice Form.
a. Display all the Details of the Students where their names in ascending order.
b. Display all the details of the students who have due more than 1500
d. Display the Student_No, Course and Balance where the balance should be in descending
order
Task E-01,02,12
Sailors Boats
sid sname rating age sid bid day Reserves
22 Aswin 7 45 22 101 10/10/98 bid bname Color
29 Vimal 1 33 22 102 10/10/98 101 Interlake Blue
31 Rajan 8 55 22 103 10/08/98 102 Interlake Red
32 Suri 8 25 22 104 10/07/98 103 Clipper Green
58 Kabil 10 35 31 102 11/10/98 104 Marine red
64 Raman 7 16 31 103 11/06/98
71 Vasu 10 35 31 104 11/12/98
74 Antan 9 16 64 101 09/08/98
85 Visal 3 25 64 102 09/08/98
95 Ramu 3 63 74 103 09/08/98
1. Through ‘Relation ship’ method related these tables one with another.
2. Write SQL for the followings.
a. Find the names and ages of all sailors.
b. Find all sailors with rating above 7.
c. Find the names of sailors who have reserved boat number 103.
d. Find the sid of sailors who have reserved a red boat.
e. Find the colors of boats reserved by Raman.
f. Find the names of sailors who have reserved a red or green boat.
g. Find the average age of all sailors.
h. Find the average age of sailors with a rating of 10.
i. Count the number of sailors.
2. Create the following tables with appropriate data types & primary keys.
4. Create a SELECT QUERY to view the following information of coach(CID, CName, CAddress) who
5. Create a MAKE TABLE QUERY to display the following fields”CID, CName” and a New Filed called
“ETF”.
Employee
Project
Working
5. Update the salary by 200 of the employee, who gets the salary less than 8000.00 and save the query as “SALUP”
[08 Marks]
6. Create the report as follows and find the grand total of the salary [10 Marks]
Net Salary= [BASICSAL] + [Sum of OT_HOURS]*750
Note: - Manual Calculation not allowed.
PDGD Graphic
UNT1 Unit 1
UNT2 Unit 2
VBB1 VB
4. Through “Relationship” Method relate these two table one with another.
3. Apply the primary keys are appropriate for the above tables.
4. Create the relationship using the three tables using suitable fields.
5. Add following records for each table.
6. Create the following query to view the following information (Student_No, Group_ID, Full_Name,
Duration, Monthly_Fee) find the course Fee and save the query as “AMOUNT”.
(Formula: Duration * Monthly_Fee).
7. Create the following report using the above Query, Group the report using Group ID and find the
Grand total.
7. Create the following select Query to calculate the Total_Price and filter the customers whose
Formula: Total_price=Unit_price*Quality