Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

RDBMS slips A Perfect Code for future

Rating
-
Sold
-
Pages
2
Uploaded on
30-04-2024
Written in
2023/2024

RDBMS stands for Relational Database Management System. It's a type of database management system that organizes data into tables with rows and columns. These systems use structured query language (SQL) for managing and querying data. RDBMSs are widely used in various applications, ranging from simple personal databases to complex enterprise systems, due to their flexibility, scalability, and reliability. Examples include MySQL, PostgreSQL, Oracle Database, and Microsoft SQL Server.

Show more Read less
Institution
Course

Content preview

slip 8

SQL> Create table plan(pno int primary key,pname varchar(15),nc
varchar(15), fct
2 varchar(15),f_amt varchar(15));

Table created.

SQL> Create table cust(cno int primary key,cname varchar(15),mno
int,pno int references plan(pno));

Table created.
SQL> set serveroutput on
SQL> Insert into plan values(1,,,,);

1 row created.

SQL> Insert into cust values(1,,9763162617,1);

1 row created.
SQL> create or replace function fun1(nocomp in varchar)return
varchar as detalis varchar(10);
2 begin
3 select ( plan.pname)into detalis from plan,cust where
plan.pno=cust.pno and plan.pno='1';
4 if sql %found then
5 return(detalis);
6 else
7 return null;
8 end if;
9 end fun1;
10 /

Function created.
SQL> begin
2 dbms_output.put_line('detalis-'||fun1('1'));
3 end;
4 /
detalis-summer

PL/SQL procedure successfully completed.



SQL> declare
cursor c1(yyyy cust.cname %type)is select cname,pname from
plan,cust where

Written for

Institution
Course

Document information

Uploaded on
April 30, 2024
Number of pages
2
Written in
2023/2024
Type
Class notes
Professor(s)
Madhura chalke
Contains
All classes

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
siddheshbagul0012

Get to know the seller

Seller avatar
siddheshbagul0012 SBB Alias Appasaheb Jedhe College
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions