Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
AbdulQader MCA Dbms LAB Record

AbdulQader MCA Dbms LAB Record

Ratings: (0)|Views: 82 |Likes:

More info:

Published by: shaik abdul qader MCA 2011 on Oct 15, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

11/09/2011

pdf

text

original

 
HYDERABAD NAME=
“ Shaik Abdul Qader ”Shaik Abdul Qader ”
OLL NO=
060-09-
023Contact me=9700064061
N
 
izam
I
 
nstitute of 
C
 
omputer 
S
 
ciences
 
(
NICS)
 
(
SQL
,
PL/SQL
 
PROGRAMMING
)
C
 
ONTENTSNTENTS
 
 ____________________________________ 
PART-1 =====PART-1 ===== 
DBMSDBMSPAGE.NOPAGE.NO
Introduction to DBMS……………………………………………………………………….Advantages……………………………………………………………………………………Data Abstraction……………………………………………………………………………..Data Models…………………………………………………………………………………..DataBase Facilities………………………………………………………………………….Structure of a DBMS……………………………………………………………………..…Different Type of Keys…………………………………………………………………..…
PART-2 =====PART-2 =====
 
 
SQLSQL
 
.
 
What is SQL…………………………………………………………………………………..SQL Statements……………………………………………………………………………..1.DDL , 2.DML , 3.DCL , 4.TCL , 5.DRLDifferences between DDL , DML & DCLcommands…………………………………………………………………………………….SQL (ALL) commands………………………………………………………………………(i)SQL*PLUS commands(ii)PL/SQL commands(iii)SQL commandsDATA TYPES of SQL………………………………………………………………………OPERATIONS OF THE SQL STATEMENTS……………………………………………
 
DBMS=LAB-V{NOV/DEC-2009} M.C.A II/I
---
DBMS(LAB)RECORDBMS(LAB)RECORD
Page 2
 
HYDERABAD NAME=
“ Shaik Abdul Qader ”Shaik Abdul Qader ”
OLL NO=
060-09-
023Contact me=9700064061
N
 
izam
I
 
nstitute of 
C
 
omputer 
S
 
ciences
 
(
NICS)
 
(
SQL
,
PL/SQL
 
PROGRAMMING
)
1.DDL , 2 DML , 3 TCL & 4.DRLBuilt Functions………………………………………………………………………………
*Number Function , *Character Function , *Date Function & *Group Function
Set Operators………………………………………………………………………………Sub Queries (OR) Nested Queries……………………………………………………..Views…………………………………………………………………………………………AdvantagesSequence……………………………………………………………………………………Index…………………………………………………………………………………………Differences between SQL & PL/SQL………………………………………………….Dynamic SQL………………………………………………………………………………Embedded SQL……………………………………………………………………………
PART-3 =====PART-3 =====
 
 
PLPL
 
/
 
SQLSQL
 
.
Introduction to PL/SQL………………………………………………………………….Advantages…………………………………………………………………………………Block Structure……………………………………………………………………………Variable & Constraints…………………………………………………………………..DataTypes of PL/SQL……………………………………………………………………Architecture………………………………………………………………………………Trigger……………………………………………………………………………………..Advantages of trigger………………………………………………………………….Cursor………………………………………………………………………………………
 
DBMS=LAB-V{NOV/DEC-2009} M.C.A II/I
---
DBMS(LAB)RECORDBMS(LAB)RECORD
Page 2
 
HYDERABAD NAME=
“ Shaik Abdul Qader ”Shaik Abdul Qader ”
OLL NO=
060-09-
023Contact me=9700064061
N
 
izam
I
 
nstitute of 
C
 
omputer 
S
 
ciences
 
(
NICS)
 
(
SQL
,
PL/SQL
 
PROGRAMMING
)
 
1.
 
2.
 
3.
 
4.
 
5.
 
SQL , PL/SQL
PROGRAMS
Create a table to represent SB _account of a bank consisting of account_no,customer_name & bal_amount. Write a PL/SQL block toimplement deposit & withdraw.Withdraw shoult not be allowed if thebalance goes below Rs.1000.Create the following Two tables:College_info, consisting of field s :-(college_code,college_name,address) Faculty_info,consisting of fields :-(college_code,faculty_code ,faculty_name,qualification, experiences_in_no_of_years,address.) The fieldcollege_code is foreign key. (A)Design aform to accept the data from the user.(B)Generate queries ti do th following:( i)List all those faculty members whose experience is greater than or equal to 10years & have M.TECH degree.(ii) List all those faculty members,who have atleast 10years of experiencebut,do not have M.TECH degree.Create the following tables for Library Information system:BOOK:(book_no,title,publisher,author,status) . STATUS could beissued,present in the library,sent for binding and cannot be issued.Write a trigger which sets the status of a book to “cannot be issued”,if itis a published 20years back.Create the BOOK table as in the 3
rd
program add one field as(data_of_purchase), AND Status could be as same as in that table.(A) Create a form to accept the data from the user with appropriatevalidation checks.(B) Generate queries to do the following:-(i) List all those books which are new arrivals.The books which areacquired during the last 6 months are categorized as new arrivals.(ii) List all those books that cannot be issued and purchased 20 yearsback (or) ago.Create the following tables:-
 
DBMS=LAB-V{NOV/DEC-2009} M.C.A II/I
---
DBMS(LAB)RECORDBMS(LAB)RECORD
Page 2

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
akbisoi1 liked this
selvadpm1 liked this
arjunray liked this
hitk liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->