Practical IP FP
Practical IP FP
SQL QUERIES
i.
ii.
Display the AccNo and Loan_Amount of all the loans started before 01-04-2009.
iii.
Display the details of all the loans with less than 40 instalments.
iv.
Display the details of all the loans whose rate of interest is NULL. `
v.
Display the details of all the loans whose rate of interest is not NULL.
vi.
Display the amounts of various loans from the table Loan_Accounts. A loan amount should appear
only once.
vii.
Display the details of all the loans started after 31-12-2008 for which the number of instalments are
viii.
Display the Cust_Name and Loan_Amount for all the loans which do not have number
of instalments 36.
ix.
Display the details of all the loans whose Loan_Amount is in the range 400000 to 500000.
x.
Display the Cust_Name and Loan_Amount for all the loans for which the number of instalments
xi.
Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name ends
with 'Sharma'.
xii.
Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name
xiii.
Display the AccNo, Cust_Name, and Loan_Amount for all the loans for which the Cust_Name
xiv.
Display the details of all the loans in the ascending order of their Loan_Amount and within
xv.
Display the details of all the loans which started in the year 2009.