Objective
Create an electricity billing system, rent rs 20/-
Slab 1 : 1-40 units-0
Slab2: 40-80 units -40
Slab3: >80 -1.40+excess of 80
Program
SQL> create table electricity(cons_id varchar(4) primary
key, c_name varchar(20), rent number(2) check (rent=20), unit number(6));
Table created
SQL> insert into electricity values (‘E001’,’deepika’,20,35);
1 row created
SQL> insert into electricity values (‘E002’,’varna’,20,61);
1 row created
SQL> insert into electricity values (‘E003’,’arun’,20,80);
1 row created
SQL> insert into electricity values (‘E004’,’rahul’,20,90);
1 row created
SQL> alter table electricity add (total number (6,2));
Table altered
SQL>declare
2 v_total electricity.total%type;
3 cursor c is select * from electricity;
4 begin
5 for I in c loop
6 if (i.unit <=40) then
7 v_total:=i.rent;
8 elseif (i.unit<=80) then
9 v_total:= i.rent+(i.unit-40)*.40;
10 else
11 v_total:= i.rent+(40*.40)+(i.unit-80)*1.40;
12 end if
13 update electricity set total=v_total,where
14 cons_id = i.cons_id;
15 end loop;
16 end;
17 /
PL/SQL procedure successfully completed
SQL> select* from electricity;
Cons c_name rent
unit total
E001 deepika 20 35 20
E002 varna 20 61
28.4
E003 arun 20
80 36
E004 rahul
20 90 50
This comment has been removed by the author.
ReplyDeleteHi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging.
ReplyDeleteData Science course in Chennai
Data science course in bangalore
Data science course in pune
Data science online course
Data Science Interview questions and answers
Data Science Tutorial
Really nice experience you have. Thank you for sharing. It will surely be an experience to someone.
ReplyDeleteSelenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training
I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.
ReplyDeleteBest Devops Training in pune
Microsoft azure training in Bangalore
Power bi training in Chennai
Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
ReplyDeleterpa training in bangalore
best rpa training in bangalore
rpa training in pune | rpa course in bangalore
rpa training in chennai
Learned a lot from your blog, keep up the good work and share more updates.
ReplyDeletePython course in Chennai
Best Python Training in Chennai
ccna Training in Chennai
ccna course in Chennai
Data Analytics Courses in Chennai
Big Data Analytics Courses in Chennai
Python Training in Anna Nagar
Python Training in T Nagar
This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.
ReplyDeleteData Science Training in Indira nagar
Data Science Training in btm layout
Data Science Training in Kalyan nagar
Data Science training in Indira nagar
Data science training in bangalore
I have been continuously reading all your blogs. You have shared a worthy information.
ReplyDeleteEnglish Speaking Classes in Mulund
English Speaking Classes in Mulund West
English Speaking Course in Mulund
English Speaking Course in Mulund East
Spoken English Classes in Anna Nagar
Spoken English Classes in Chennai
Spoken English Class in Chennai
Spoken English in Chennai
Good to read thanks for the author.
ReplyDeleteBest Selenium Training Institute in Chennai | Selenium Course in Chennai
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleteDotnet Training in Chennai |Best Dotnet Training course in Chennai
Android Training in Chennai |Best Android Training course in Chennai
CCNA Training in Chennai | Best CCNA Training course in Chennai
MCSE Training in Chennai |Best MCSE Training course in Chennai
Embedded Systems Training in Chennai |Best Embedded Systems Training course in Chennai
Matlab Training in Chennai | Best Matlab Training course in Chennai
Unix Training in Chennai | Best Unix Training in Chennai
Sql Training in Chennai | Best Sql Training in Chennai
Oracle Training in Chennai | Best Oracle Training in Chennai
Digital Marketing Training in Chennai | Best Digital Marketing Training in Chennai
great work
ReplyDeletebilling system
best body massager india
ReplyDeleteI have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.
ReplyDeleteMCSE Training in chennai | mcse training class chennai
Really great information this. I really appreciates your all blog and mostly follows your blog.
ReplyDeletedata science with Python Training in Bangalore
data science Python Course in Bangalore
I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
ReplyDeleteCyber Security Training Course in Chennai | Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course |
CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course
Wonderful post and more informative!keep sharing Like this!
ReplyDeleteEssential Skills for Full Stack developer
Important Skills for Full Stack developer
Electricity Billing System Using Pl/Sql ~ Techietopics >>>>> Download Now
ReplyDelete>>>>> Download Full
Electricity Billing System Using Pl/Sql ~ Techietopics >>>>> Download LINK
>>>>> Download Now
Electricity Billing System Using Pl/Sql ~ Techietopics >>>>> Download Full
>>>>> Download LINK f5
A guardrail is a protective device (pole, safety fence, etc.) used to prevent or mitigate damage caused by vehicle collisions within a factory. Many manufacturing plants are operated by forklifts, AGVs, and other vehicles. If these vehicles come into contact with workers or production equipment, serious industrial accidents and shutdowns can occur. In today’s guide, we will introduce you to the top 15 guardrail manufacturers of 2023. Read on to learn more.
ReplyDeleteA drop test machine is used to test the damage caused by dropping the product package and to evaluate the impact strength during transportation and handling. Our drop testers are used for the purpose of dropping tests while keeping the attitude of the specimen and investigating its effect. In addition, it can be used not only for electricity and electronics but also for drop tests in various fields such as medicine, food, and pharmaceutical.
ReplyDeleteLinkotest has proudly served the drop test industry with mechanical drop testers for mobile products, rotating drum testers, drop testers for packages, and all types of drop testers for large items for over 23 years.
That was great post. It was very helpful and useful.
ReplyDeleteSQL Training in Pune