-->
Display the plan having minimum response.
sql>select pno,pname,min(freecalltime)from plan group by pno,pname;
Display customer details starting their mobile number with 98.
sql>select * from cust where mbno like'98%';
Display the customer dfetails that are getting less number of free calls than that of the plan ‘Let’s Rock’.
sql>select cno,cname,mbno from cust,plan where cust.pno=plan.pno and nooffreecalls<10 and pname='let';
Delete the details of ‘John’ who has stopped ‘Go Max’ plan.
sql>delete pno from cust where pno=(select pno from plan,cust where cust.pno=plan.pno and pname='gomax' and cname='john');
sql>delete from cust where pno=(select pno from plan where pname='gomax');
sql>delete from plan where pname='goamax';
Find the plan whose fixed amount is greater than 5000.
sql>select pname from plan where fix_amt>5000;
/