Anna University: Chennai - 600 025
Anna University: Chennai - 600 025
Anna University: Chennai - 600 025
com
REGULATION – 2013
THIRD SEMESTER
www.Vidyarthiplus.com
www.Vidyarthiplus.com
(i). Display only those rows whose total ranges between 250 and 300.
Marks:
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Marks:
a. book (book_name,author,price,quantity).
(ii) List the author of the book which one have the price of 200.
(iii).List the price of the book which one is between the price of 175 & 250.
(iv).Retrieve all the details from the table book whose author name start with K.
Marks:
Table creation and Data Insertion (20) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iv) (10 x 4=40) marks
PL/SQL program(II) (25) marks
www.Vidyarthiplus.com
www.Vidyarthiplus.com
(ii)List all the student detail that who are all located in Chennai.
Marks:
(iii)Display the Custname doesn’t hold any Account nor taken any Loan
www.Vidyarthiplus.com
www.Vidyarthiplus.com
(i)Select dept_no from dept_details and not in emp_details using both the tables.
(ii) Create a table named as student and insert values into the table.
(iii) Write a pl/sql program to display the salary of a particular employee using functions.
(iv)Write PL/SQL Program to generate even numbers.
Marks:
10. Create the following tables with the mapping given below.
Phone_book(ph_no,name,door_no,street,place).
Marks:
www.Vidyarthiplus.com
www.Vidyarthiplus.com
11. Create the following tables with the mapping given below.
emp_details (emp_no, emp_name, DOB, address, doj, mobile_no, salary).
Marks:
12. Create the following table with the mapping given below.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
13. Create the following table with the mapping given below.
book(book_name,author_name,price,quantity).
(i) write a query to update the quantity by double in the table book.
(iii)Retrieve the list of author_name whose first letter is ’a’ along with the book_name and price.
(v) Write a pl/sql program to check whether the given number is prime or not.
Marks:
14. Create the following table with the mapping given below.
(iv)Write a pl/sql program to find the sum &avg marks of all the student using procedures.
(v)Write a pl/sql program to check whether the given number is prime or not.
Marks:
www.Vidyarthiplus.com
www.Vidyarthiplus.com
15. Create the following tables with the mapping given below.
(iv)Write a pl/sql program to find the sum &avg marks of all the student using procedures.
Marks:
16. Create the following tables with the mapping given below.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Phone_book(ph_no,name,door_no,street,place).
(i)List the price of the book which one is between the price of 400 & 500.
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i) (10) marks
Trigger(ii) (20) marks
PL/SQL program(iii) (20) marks
DB,VB&Ms-Access(iv) (20) marks
18. Create the following table with the mapping given below.
retailor(Cust_id, Cust_name, place, ph_no,pan_no).
(i) Alter the table to add a column pin_no.
(ii) Display the details of customer who are all living in bangalore.
(iii) Display the customer name whose first letter is ‘M’.
(iv) Write a pl/sql program in procedure using in & out parameter.
(v) Design Customer Details Form using Front end tool.
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iii) (10 x 3=30) marks
Trigger(iv) (20) marks
Front end tool(v) (20) marks
www.Vidyarthiplus.com
www.Vidyarthiplus.com
19. Create the following table with the mapping given below.
a.Product_master(product_name,purchase_prize,sell_prize,profit,quantity,balance)
(iii) Change thesell_price to 5000&purchase_price amount to 4000 for any one of the product in
product_master.
(iv) Create a trigger to update the balance in product_ master table whenever transaction table will
have a new entry.
(v) Design and implement payroll system to insert data's in DB and update Data’s in DB using
VB/Java as front end and Ms-Access as back end.
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iii) (10 x 3=30) marks
Trigger(iv) (20) marks
MS Access(v) (20) marks
20. Create the following table with the mapping given below.
a. stu_details (reg_no, stu_name, DOB, address, city)
b. mark_details (reg_no, mark1, mark2, mark3, total)
(i)Find out the name of all students along with their total marks.
(ii)Change the mark1 as ‘78’ from ‘59’ and alter the total for a particular student.
(iii) Delete all the records and its memory space from the table student.
(iv) Write a pl/sql program to check whether the given number is prime or not.
(v) Design Student Details Form using Front end tool.
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iii) (10 x 3=30) marks
PL/SQL program (iv) (20) marks
Front end tool(v) (20) marks
www.Vidyarthiplus.com
www.Vidyarthiplus.com
21. Create the following table with the mapping given below.
a.Administration(employee_salary, development _cost, fund_amount, turn_over,bonus)
b. Emp_details (emp_no, emp_name, DOB, address, doj, mobile_no, dept_no, salary).
(i)Calculate the total and average salary amount of the administration table.
(iv)write a pl/sql code block to calculate the area & circumference of a circle
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iii) (10 x 3=30) marks
PL/SQL program (iv) (20) marks
Front end tool(v) (20) marks
22. Create the following table with the mapping given below.
emp_details (emp_no, emp_name, DOB, address, doj, mobile_no, dept_no, salary).
(i)List all employees which starts with either B or C.
(ii)Display the names and dob of all employees who were born in Feburary.
(iii)List out the employee names whose salary is greater than 15000.
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iii) (10 x 3=30) marks
PL/SQL program (iv) (20) marks
Visual basic(v) (20) marks
www.Vidyarthiplus.com
www.Vidyarthiplus.com
(iii)Find all customer id's for loan's with loan amount between 5000 and 15000.
(iv)write a pl/sql code to accept the text and check the text is palindrome or not.
Marks:
Table creation and Data Insertion (15) marks
book(book_name,author_name,price,quantity).
(i)Write a query to find out the minimum quantity of books available in the table book.
(ii)Write a query to find the total price of all the books present in the table.
(iii)Write a query to find the average amount of all the books.
(iv)Write a pl/sql program to generate numbers from 0 to 25 in step of 5
(v)Data’s in DB using VB/Java as front end and Ms-Access as back end.
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iii) (10 x 3=30) marks
PL/SQL program (iv) (20) marks
MS-Access (v) (20) marks
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Product_master(product_name,product_no,purchase_prize,sell_prize,profit,quantity,balance)
(ii)Delete all products from product_master where the Quantity is equal to 40.
(iii)Find the product no & product name of the product which have a purchase amount equal to
Rs.5500.
(iv) Write a pl/sql program to find the factorial of a given number using functions.
(v)Design and implement payroll system to insert data's in DB and delete Data from DB using VB
Marks:
Table creation and Data Insertion (15) marks
Appropriate Constraints and Data Type (15) marks
Queries (i-iii) (10 x 3=30) marks
PL/SQL program (iv) (20) marks
MS-Access (v) (20) marks
www.Vidyarthiplus.com