Practical 3
Practical 3
Create the bookstore database with necessary table and data and modify the database to
accommodate the following
Enter a name of your database, you can give any name, I’m giving test, click on create
isbn longtext
title longtext
author longtext
publish number
price currency
1)Enter 10 records into books
Now in the query write the following insert query to enter the data into the table
values('1','destiny','tom','2000','10000')
update books
set price='2000'
where title='persian'
3)delete the book having title sql
where title='sql'
Now you can see book having title sql has been deleted
Practical 3B
Create a table employ with (id,name,job,age,salary). Insert 10 records. Create a query to display the
information of all the managers. Create a query to display the name of employs who’s salary is
>15,000
id autonumber
fname longtext
job longtext
age number
salary currency
1) Enter 10 records in the table
Students must have the knowledge of practical 2B, how to create a form
2) Now select the table, for which you want to create a form, in my case its employee
Now in the top bar, you can see home,create, external data and database tools
Click on create
Give any name to you form (what do you want to name your form) I’ve given emp, click on finish
Following window will be open
Now we’ve created the from, close it and open the from in design view
Following window will be open
Next to view you can see themes click on it to give theme to your form
Once you click on themes following menu will be open, choose any theme you like
Click on it to apply.
You can see, we’ve inserted image, logo, title and date to our form