Project Name: Banking System VIEW OF THE PROJECT: ➢The main aim of this project is it gives information about the Functioning of Databases in Banking System. ➢All the Functionalities of Banking Systems are credited in this project. ABOUT THE PROJECT: Usually all persons want money for personal and commercial purposes. Banks are the oldest lending institutions in Indian scenario. They are providing all facilities to all citizens for their own purposes by their terms. To survive in this modern market every bank implements so many new innovative ideas, strategies, and advanced technologies. For that they give each and every minute detail about their institution and projects to Public. They are providing ample facilities to satisfy their customers i.e. Net Banking, Mobile Banking, Door to Door facility, Instant facility, Investment facility, Demat facility, Credit Card facility, Loans and Advances, Account facility etc. And such banks get success to create their own image in public and corporate world. These banks always accepts innovative notions in Indian banking scenario like Credit Cards, ATM machines, Risk Management etc. So, as a student business economics I take keen interest in Indian economy and for that banks are the main source of development. So this must be the first choice for me to select this topic. At this stage every person must know about new innovation, technology of procedure new schemes and new ventures. Because of the following reasons, I prefer this project work to get the knowledge of the banking system. • Banking is an essential industry. • It is where we often wind up when we are seeking a problem in financial crisis and money related query. • Banking is one of the most regulated businesses in the world. • Banks remain important source for career opportunities for people. • It is vital system for developing economy for the nation. • Banks can play a dynamic role in delivery and purchase of consumer durables. Second phase of nationalization Indian Banking Sector Reform was carried out in 1980 with seven more banks. This step brought 80% of the banking segment in India under Government ownership. The following are the steps taken by the Government of India to Regulate Banking Institutions in the Country: • 1949 : Enactment of Banking Regulation Act. • 1955 : Nationalization of State Bank of India. • 1959 : Nationalization of SBI subsidiaries. • 1961 : Insurance cover extended to deposits. • 1969 : Nationalization of 14 major banks. • 1971 : Creation of credit guarantee corporation. • 1975 : Creation of regional rural banks. 1980 : Nationalization of seven banks with deposits over 200 crore. After the nationalization of banks, the branches of the public sector bank India rose to approximately 800% in deposits and advances took a huge jump by 11,000%. Banking in the sunshine of Government ownership gave the public implicit faith and immense confidence about the sustainability of these institutions. FUNCTIONING OF A BANK:Functioning of a Bank is among the more complicated of corporate operations. Since Banking involves dealing directly with money, governments in most countries regulate this sector rather stringently. In India, the regulation traditionally has been very strict and in the opinion of certain quarters, responsible for the present condition of banks, where NPAs are of a very high order. The process of financial reforms, which started in 1991, has cleared the cobwebs somewhat but a lot remains to be done. The multiplicity of policy and regulations that a Bank has to work with makes its operations even more complicated, sometimes bordering on illogical. This section, which is also intended for banking professional, attempts to give an overview of the functions in as simple manner as possible. Banking Regulation Act of India, 1949 defines Banking as "accepting, for the purpose of lending or investment of deposits of money from the public, repayable on demand or otherwise and withdraw able by cheques, draft, and order or otherwise." RULES GOVERNING THE PROJECT ➢ All the customers of the bank have a unique account number. ➢ The account numbers are not nullable i.e., they cannot take null values. ➢ The customers must have a minimum account balance of Rs.1000. ➢ Any customer is not allowed to withdraw amount from his account, if the withdrawl results in his account balance going below the minimum balance. ➢ A person is eligible to get a loan from the bank if he has an account in the bank. ➢ The percentage of interest imposed on the loan depends on the Company’s policies. ➢ The customers are issued cards (ATM or Debit) depending on his/her eligibilities. ➢ All the card holders have unique card and PIN numbers. ➢ The employees of the bank have unique identification numbers. E-R Diagram- Banking Account_ number Age Account_ number Gender Account _type Account_ number Balance Loan_type Account_ number Card_type Interest AccInfo Customer R1 Customer_ name Account_ branch Branch Address R3 Loan_amount Emp_id Branch EmployeeInfo CardInfo LoanInfo R2 Emp_name R4 Card_number Status Salary ACKNOWLEDGEMENT The Satisfaction that accompanies the successful completion of any task would be incomplete without the mention of the people who made it possible and whose constant encouragement and guidance has been a source of inspiration throughout the course of this project. We take this opportunity to express our gratitude to all those who have helped us in this project. Our Sincere thanks to our guides H.O.D OF IT DEPARTEMENT T.V.Rajinikanth and Associate professor Vijender Reddy for giving us their support andconstantencouragement for completion of the project successfully. INDEX CONTENTS PAGE NO SELECT * FROM EMPINFO WHERE BRANCH='sr nagar' AND STATUS='Clerk'; OUTPUT: E MP _ID 9241207 9241213 9241228 9241232 E MP _NAME B havani K averi R ajeev S atees h B R ANC H s r nagar s r nagar s r nagar s r nagar S T AT US C lerk C lerk C lerk C lerk S AL AR Y 7500 7500 7500 7500 SELECT * FROM EMPINFO WHERE STATUS='Manager'; OUTPUT: E MP _ID 9241201 9241203 9241205 9241208 9241215 9241223 9241238 E MP _NAME Aas hrith Adithya Anves h B hanumati K is hore P rathyus ha S hyam B R ANC H balanagar lb nagar kukatpally ds nr mehidipatnam miyapur K hairatabad S T AT US Manager Manager Manager Manager Manager Manager Manager S AL AR Y 50000 50000 50000 50000 50000 50000 50000 SELECT * FROM EMPINFO WHERE SALARY BETWEEN 20000 AND 50000; OUTPUT: E MP _ID 9241201 9241203 9241205 9241206 9241208 9241211 9241215 9241216 9241221 9241223 9241231 9241233 9241238 E MP _NAME Aas hrith Adithya Anves h B abu B hanumati C hitra K is hore Manis h Nayana P rathyus ha R akes h S owmya S hyam B R ANC H balanagar lb nagar kukatpally miyapur ds nr khairatabad mehidipatnam balanagar s r nagar miyapur ds nr mehidipatnam K hairatabad S T AT US Manager Manager Manager S r Ac c ountant Manager S r Ac c ountant Manager S r Ac c ountant S r Ac c ountant Manager S r Ac c ountant S r Ac c ountant Manager S AL AR Y 50000 50000 50000 20000 50000 20000 50000 20000 20000 50000 20000 20000 50000 SELECT * FROM EMPINFO WHERE EMP_NAME LIKE 'a%'; OUTPUT: ID E MP _ID 9241201 9241202 9241203 9241204 9241205 E MP _NAME Aas hrith Anji Adithya As his h Anves h B R ANC H balanagar kukatpally lb nagar balanagar kukatpally S T AT US Manager S r Ac c ountant Manager C lerk Manager S AL AR Y 50000 20000 50000 7500 50000 SELECT * FROM EMPINFO WHERE EMP_NAME LIKE '%a'; OUTPUT: E MP _ID 9241203 9241209 9241210 9241211 9241219 9241221 9241223 9241233 9241234 9241236 E MP _NAME Adithya B havya C handana C hitra Nagendra Nayana P rathyus ha S owmya S oundarya S hravya B R ANC H lb nagar kukatpally mehidipatnam khairatabad ds nr s r nagar miyapur mehidipatnam balanagar miyapur S T AT US Manager C lerk C lerk S r Ac c ountant C lerk S r Ac c ountant Manager S r Ac c ountant C lerk C lerk S AL AR Y 50000 7500 7500 20000 7500 20000 50000 20000 7500 7500 SELECT * FROM CARDINFO WHERE ACCOUNT_NUMBER BETWEEN '09241A1272' AND '09241A1285'; OUTPUT: AC C O UNT _NUMB E R 09241A1272 09241A1273 09241A1274 09241A1276 09241A1277 09241A1278 09241A1280 09241A1281 09241A1282 09241A1283 09241A1284 09241A1285 C AR D _NUMB E R 0123-4567-0924-1272 0123-4567-0924-1273 0123-4567-0924-1274 0123-4567-0924-1276 0123-4567-0924-1277 0123-4567-0924-1278 0123-4567-0924-1280 0123-4567-0924-1281 0123-4567-0924-1282 0123-4567-0924-1283 0123-4567-0924-1284 0123-4567-0924-1285 SELECT * FROM CARDINFO WHERE CARD_TYPE='DEBIT'; OUTPUT: C AR D _T Y P E D E B IT D E B IT AT M AT M AT M AT M D E B IT AT M AT M D E B IT AT M AT M ID AC C O UNT _NUMB E R 09241A1257 09241A1261 09241A1269 09241A1272 09241A1273 09241A1280 09241A1283 09241A1299 C AR D _NUMB E R 0123-4567-0924-1257 0123-4567-0924-1261 0123-4567-0924-1269 0123-4567-0924-1272 0123-4567-0924-1273 0123-4567-0924-1280 0123-4567-0924-1283 0123-4567-0924-1299 C AR D _T Y P E D E B IT D E B IT D E B IT D E B IT D E B IT D E B IT D E B IT D E B IT SELECT * FROM CARDINFO WHERE ACCOUNT_NUMBER BETWEEN '09241A1272' AND '09241A1285' AND CARD_TYPE='ATM'; OUTPUT: AC C O UNT _NUMB E R 09241A1274 09241A1276 09241A1277 09241A1278 09241A1281 09241A1282 09241A1284 09241A1285 C AR D _NUMB E R 0123-4567-0924-1274 0123-4567-0924-1276 0123-4567-0924-1277 0123-4567-0924-1278 0123-4567-0924-1281 0123-4567-0924-1282 0123-4567-0924-1284 0123-4567-0924-1285 C AR D _T Y P E AT M AT M AT M AT M AT M AT M AT M AT M SELECT * FROM CUSINFO WHERE GENDER='M' AND BALANCE<7500; OUTPUT: AC C O UNT _NUMB E R 09241A1256 09241A1257 09241A1258 09241A1259 09241A1260 09241A1261 09241A1262 09241A1263 09241A1266 09241A1269 09241A1270 09241A1272 09241A1273 09241A1274 C US _NAME Abhiram Akhil R eddy Ambedkar S ai K ris hna Anudeep Avinas h B harath C haitanya D heeraj G angadhar G autham G owtham Hars havardhan Hars ha yadav G E ND E R M M M M M M M M M M M M M M AG E 19 19 19 19 19 19 19 19 19 19 19 19 19 19 AD D R E S S patanc heru lb nagar c hintal niz ampet s r nagar vidyanagar miyapur balanagar niz ampet niz ampet lb nagar niz ampet niz ampet kukatpally B AL ANC E 5600 5700 5800 5900 6000 6100 6200 6300 6600 6900 7000 7200 7300 7400 SELECT * FROM CUSINFO WHERE GENDER='M' AND CUS_NAME LIKE '%h'; OUTPUT: AC C O UNT _NUMB E R 09241A1261 09241A1262 09241A1277 09241A1283 09241A1299 C US _NAME Avinas h B harath J ayanth Mahes h R ames h G E ND E R M M M M M AG E 19 19 19 19 19 AD D R E S S vidyanagar miyapur kukatpally khairatabad niz ampet B AL ANC E 6100 6200 7700 8300 9900 B R ANC H s ec underabad miyapur kukatpally khairatabad kukatpally SELECT * FROM CUSINFO WHERE BRANCH='miyapur' AND BALANCE BETWEEN 6000 AND 8000; OUTPUT: AC C O UNT _NUMB E R 09241A1262 09241A1271 C US _NAME B harath Geetha GE ND E R AGE M 19 F 19 AD D R E S S miyapur miyapur B AL ANC E B R ANC H 6200 miyapur 7100 miyapur SELECT * FROM CUSINFO WHERE BALANCE<7000 AND AGE=19 AND BRANCH='kukatpally'’; OUTPUT: ACCOUNT_NUMBER 09241A1259 09241A1265 CUS_NAME Sai Krishna Dharani GENDER M F AGE 19 19 ADDRESS nizampet nizampet BALANCE 5900 6500 SELECT ACCOUNT_NUMBER,CUS_NAME,GENDER,AGE,BALANCE,BRANCH,ADDRESS,ROW_NUMBER() OVER(ORDER BY (BALANCE) DESC) AS RANK FROM CUSINFO; OUTPUT: ACCOUNT_NUMBER 09241A1299 09241A1298 09241A1297 09241A1296 09241A1295 09241A1294 09241A1293 09241A1292 09241A1291 09241A1290 09241A1288 09241A1287 09241A1286 09241A1285 09241A1284 09241A1282 09241A1281 09241A1280 09241A1279 09241A1278 09241A1277 09241A1276 09241A1274 09241A1273 09241A1272 09241A1271 09241A1270 09241A1268 09241A1265 09241A1264 09241A1262 09241A1261 09241A1260 CUS_NAME GENDER Ramesh M Rammohan M Rajshekhar M Preetham M Praveen M Prathiba F Pooja F Pannaga F Nikhil M Neha F Mehabunnisa F Meghana sindhoori F Meghana F Manasa F Manasa ReddyF Lillyrani F Lavanya F Krishna M Krishna Chaitanya M Karthik M Jayanth M Himaja F Harsha yadav M HarshavardhanM Gowtham M Geetha F Gautham M Divyani F Dharani F Deepika F Bharath M Avinash M Anudeep M AGE 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 BALANCE 9900 9800 9700 9600 9500 9400 9300 9200 9100 9000 8800 8700 8600 8500 8400 8200 8100 8000 7900 7800 7700 7600 7400 7300 7200 7100 7000 6800 6500 6400 6200 6100 6000 BRANCH kukatpally kukatpally dsnr dsnr kukatpally kukatpally kukatpally kukatpally mehidipatnam kukatpally mehidipatnam kukatpally sr nagar kukatpally miyapur balanagar miyapur mehidipatnam secunderabad sr nagar kukatpally sr nagar kukatpally kukatpally kukatpally miyapur dsnr himayathnagar kukatpally secunderabad miyapur secunderabad sr nagar ADDRESS nizampet nizampet dsnr lb nagar nizampet nizampet vasanth nagar nizampet mehidipatnam nizampet mehdipatnam nizampet sr nagar nizampet lingampally chintal lingampally mehidipatnam secunderabad erragadda kukatpally sr nagar kukatpally nizampet nizampet miyapur lb nagar himayathnagar nizampet jamestreet miyapur vidyanagar sr nagar SELECT c.CUS_NAME,c.BRANCH,g.CARD_TYPE,g.CARD_NUMBER from CUSINFO c,CARDINFO g WHERE c.ACCOUNT_NUMBER=g.ACCOUNT_NUMBER; RANK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 OUTPUT: CUS_NAME Sai Krishna Anudeep Avinash Bharath Deepika Dharani Divyani Gautham Geetha Gowtham Harshavardhan Harsha yadav Himaja Jayanth Karthik Krishna Lavanya Lillyrani Manasa Reddy Manasa Meghana Mehabunnisa Neha Nikhil Pannaga Pooja Prathiba Praveen Preetham Rajshekhar Rammohan Ramesh BRANCH kukatpally sr nagar secunderabad miyapur secunderabad kukatpally himayathnagar dsnr miyapur kukatpally kukatpally kukatpally sr nagar kukatpally sr nagar mehidipatnam miyapur balanagar miyapur kukatpally sr nagar mehidipatnam kukatpally mehidipatnam kukatpally kukatpally kukatpally kukatpally dsnr dsnr kukatpally kukatpally CARD_TYPE ATM ATM DEBIT ATM ATM ATM ATM ATM ATM DEBIT DEBIT ATM ATM ATM ATM DEBIT ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM DEBIT CARD_NUMBER 0123-4567-0924-1259 0123-4567-0924-1260 0123-4567-0924-1261 0123-4567-0924-1262 0123-4567-0924-1264 0123-4567-0924-1265 0123-4567-0924-1268 0123-4567-0924-1270 0123-4567-0924-1271 0123-4567-0924-1272 0123-4567-0924-1273 0123-4567-0924-1274 0123-4567-0924-1276 0123-4567-0924-1277 0123-4567-0924-1278 0123-4567-0924-1280 0123-4567-0924-1281 0123-4567-0924-1282 0123-4567-0924-1284 0123-4567-0924-1285 0123-4567-0924-1286 0123-4567-0924-1288 0123-4567-0924-1290 0123-4567-0924-1291 0123-4567-0924-1292 0123-4567-0924-1293 0123-4567-0924-1294 0123-4567-0924-1295 0123-4567-0924-1296 0123-4567-0924-1297 0123-4567-0924-1298 0123-4567-0924-1299 SELECT c.ACCOUNT_NUMBER,r.CUS_NAME,g.CARD_TYPE FROM CARDINFO g,ACCINFO c,CUSTINFO1 r WHERE c.ACCOUNT_NUMBER=r.ACCOUNT_NUMBER AND g.ACCOUNT_NUMBER=r.ACCOUNT_NUMBER; OUTPUT: ACCOUNT_NUMBER 09241A1259 09241A1260 09241A1261 09241A1262 09241A1264 09241A1265 09241A1268 09241A1270 09241A1271 09241A1272 09241A1273 09241A1274 09241A1276 09241A1277 09241A1278 09241A1280 09241A1281 09241A1282 09241A1284 09241A1285 09241A1286 09241A1288 09241A1290 09241A1291 09241A1292 09241A1293 09241A1294 09241A1295 09241A1296 09241A1297 09241A1298 09241A1299 CUS_NAME CARD_TYPE Sai Krishna ATM Anudeep ATM Avinash DEBIT Bharath ATM Deepika ATM Dharani ATM Divyani ATM Gautham ATM Geetha ATM Gowtham DEBIT HarshavardhanDEBIT Harsha yadav ATM Himaja ATM Jayanth ATM Karthik ATM Krishna DEBIT Lavanya ATM Lillyrani ATM Manasa ReddyATM Manasa ATM Meghana ATM Mehabunnisa ATM Neha ATM Nikhil ATM Pannaga ATM Pooja ATM Prathiba ATM Praveen ATM Preetham ATM Rajshekhar ATM Rammohan ATM Ramesh DEBIT SELECT a.ACCOUNT_NUMBER,c.CUS_NAME,s.CARD_NUMBER,s.CARD_TYPE FROM ACCINFO a,CUSTINFO1 C,CARDINFO s WHERE a.ACCOUNT_NUMBER=c.ACCOUNT_NUMBER AND c.ACCOUNT_NUMBER=s.ACCOUNT_NUMBER; OUTPUT: ACCOUNT_NUMBER 09241A1259 09241A1260 09241A1261 09241A1262 09241A1264 09241A1265 09241A1268 09241A1270 09241A1271 09241A1272 09241A1273 09241A1274 09241A1276 09241A1277 09241A1278 09241A1280 09241A1281 09241A1282 09241A1284 09241A1285 09241A1286 09241A1288 09241A1290 09241A1291 09241A1292 09241A1293 09241A1294 09241A1295 09241A1296 09241A1297 09241A1298 09241A1299 CUS_NAME CARD_NUMBER Sai Krishna 0123-4567-0924-1259 Anudeep 0123-4567-0924-1260 Avinash 0123-4567-0924-1261 Bharath 0123-4567-0924-1262 Deepika 0123-4567-0924-1264 Dharani 0123-4567-0924-1265 Divyani 0123-4567-0924-1268 Gautham 0123-4567-0924-1270 Geetha 0123-4567-0924-1271 Gowtham 0123-4567-0924-1272 Harshavardhan0123-4567-0924-1273 Harsha yadav 0123-4567-0924-1274 Himaja 0123-4567-0924-1276 Jayanth 0123-4567-0924-1277 Karthik 0123-4567-0924-1278 Krishna 0123-4567-0924-1280 Lavanya 0123-4567-0924-1281 Lillyrani 0123-4567-0924-1282 Manasa Reddy0123-4567-0924-1284 Manasa 0123-4567-0924-1285 Meghana 0123-4567-0924-1286 Mehabunnisa 0123-4567-0924-1288 Neha 0123-4567-0924-1290 Nikhil 0123-4567-0924-1291 Pannaga 0123-4567-0924-1292 Pooja 0123-4567-0924-1293 Prathiba 0123-4567-0924-1294 Praveen 0123-4567-0924-1295 Preetham 0123-4567-0924-1296 Rajshekhar 0123-4567-0924-1297 Rammohan 0123-4567-0924-1298 Ramesh 0123-4567-0924-1299 CARD_TYPE ATM ATM DEBIT ATM ATM ATM ATM ATM ATM DEBIT DEBIT ATM ATM ATM ATM DEBIT ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM ATM DEBIT SELECT a.BALANCE,c.CUS_NAME,s.CARD_TYPE FROM ACCINFO a,CUSTINFO1 C,CARDINFO s WHERE a.ACCOUNT_NUMBER=c.ACCOUNT_NUMBER AND c.ACCOUNT_NUMBER=s.ACCOUNT_NUMBER; OUTPUT: BALANCE 5900 6000 6100 6200 6400 6500 6800 7000 7100 7200 7300 7400 7600 7700 7800 8000 8100 8200 8400 8500 8600 8800 9000 9100 9200 9300 9400 9500 9600 9700 9800 CUS_NAME CARD_TYPE Sai Krishna ATM Anudeep ATM Avinash DEBIT Bharath ATM Deepika ATM Dharani ATM Divyani ATM Gautham ATM Geetha ATM Gowtham DEBIT HarshavardhanDEBIT Harsha yadav ATM Himaja ATM Jayanth ATM Karthik ATM Krishna DEBIT Lavanya ATM Lillyrani ATM Manasa ReddyATM Manasa ATM Meghana ATM Mehabunnisa ATM Neha ATM Nikhil ATM Pannaga ATM Pooja ATM Prathiba ATM Praveen ATM Preetham ATM Rajshekhar ATM Rammohan ATM SELECT a.BALANCE,c.CUS_NAME,s.CARD_TYPE FROM ACCINFO a,CUSTINFO1 C,CARDINFO s WHERE a.ACCOUNT_NUMBER=c.ACCOUNT_NUMBER AND a.ACCOUNT_NUMBER=s.ACCOUNT_NUMBER AND a.BALANCE>5500 AND a.BALANCE<6500; OUTPUT: BALANCE 5900 6000 6100 6200 CUS_NAME Sai Krishna Anudeep Avinash Bharath CARD_TYPE ATM ATM DEBIT ATM SELECT c.CUS_NAME,c.BRANCH,c.GENDER,c.ADDRESS,l.LOAN_TYPE,l.INTEREST FROM CUSTINFO1 c,LOANINFO l WHERE c.ACCOUNT_NUMBER=l.ACCOUNT_NUMBER; OUTPUT: CUS_NAME BRANCH Sai Krishna kukatpally Anudeep sr nagar Avinash secunderabad Bharath miyapur Deepika secunderabad Dharani kukatpally Divyani himayathnagar Gautham dsnr Geetha miyapur Gowtham kukatpally Harshavardhankukatpally Harsha yadav kukatpally Himaja sr nagar Jayanth kukatpally Karthik sr nagar Krishna mehidipatnam Lavanya miyapur Lillyrani balanagar Manasa Reddy miyapur Manasa kukatpally Meghana sr nagar Mehabunnisa mehidipatnam Neha kukatpally Nikhil mehidipatnam Pannaga kukatpally Pooja kukatpally Prathiba kukatpally Praveen kukatpally Preetham dsnr Rajshekhar dsnr Rammohan kukatpally GENDER M M M M F F F M F M M M F M M M F F F F F F F M F F F M M M M ADDRESS nizampet sr nagar vidyanagar miyapur jamestreet nizampet himayathnagar lb nagar miyapur nizampet nizampet kukatpally sr nagar kukatpally erragadda mehidipatnam lingampally chintal lingampally nizampet sr nagar mehdipatnam nizampet mehidipatnam nizampet vasanth nagar nizampet nizampet lb nagar dsnr nizampet LOAN_TYPE studentloan studentloan houseloan studentloan studentloan studentloan studentloan studentloan studentloan houseloan houseloan studentloan studentloan studentloan studentloan houseloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan INTEREST 5% 5% 5% 5% 5% 5% 5% 5% 5% 13% 13% 5% 5% 5% 5% 13% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% SELECT * FROM LOANINFO WHERE ACCOUNT_BRANCH LIKE'b%'; OUTPUT: ACCOUNT_NUMBER 09241A1258 09241A1263 09241A1282 ACCOUNT_BRANCH balanagar balanagar balanagar LOAN_TYPE studentloan studentloan studentloan LOAN_AMOUNT 50000 50000 50000 INTEREST 5% 5% 5% SELECT * FROM LOANINFO WHERE ACCOUNT_BRANCH LIKE'k%'; OUTPUT: ID ACCOUNT_NUMBER 09241A1259 09241A1265 09241A1266 09241A1267 09241A1269 09241A1272 09241A1273 09241A1274 09241A1277 09241A1285 09241A1290 09241A1292 09241A1293 09241A1294 09241A1295 09241A1298 ACCOUNT_BRANCH kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally kukatpally LOAN_TYPE studentloan studentloan studentloan studentloan houseloan houseloan houseloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan LOAN_AMOUNT 50000 50000 50000 50000 50000 100000 100000 50000 50000 50000 50000 50000 50000 50000 50000 50000 INTEREST 5% 5% 5% 5% 5% 13% 13% 5% 5% 5% 5% 5% 5% 5% 5% 5% SELECT * FROM ACCINFO WHERE ACCOUNT_BRANCH='sr nagar' and balance>6000; OUTPUT: ID AC C O UNT _NUMB E R 09241A1276 09241A1278 09241A1283 09241A1286 AC C O UNT _T Y P E fixed s avings s avings fixed AC C O UNT _B R ANC H B AL ANC E s r nagar 7600 s r nagar 7800 s r nagar 8300 s r nagar 8600 SELECT c.CUS_NAME,c.BRANCH,c.GENDER,c.ADDRESS,l.LOAN_TYPE,l.INTEREST,f.CARD_NUMBER,f.CARD_TYPE FROM CUSTINFO1 c,LOANINFO l, CARDINFO f WHERE c.ACCOUNT_NUMBER=l.ACCOUNT_NUMBER AND l.ACCOUNT_NUMBER=f.ACCOUNT_NUMBER; OUTPUT: Avinash secunderabad Bharath miyapur Deepika secunderabad Dharani kukatpally Divyani himayathnagar Gautham dsnr Geetha miyapur Gowtham kukatpally Harshavardhankukatpally Harsha yadav kukatpally Himaja sr nagar Jayanth kukatpally Karthik sr nagar Krishna mehidipatnam Lavanya miyapur Lillyrani balanagar Manasa Reddy miyapur Manasa kukatpally Meghana sr nagar Mehabunnisa mehidipatnam Neha kukatpally Nikhil mehidipatnam Pannaga kukatpally Pooja kukatpally Prathiba kukatpally Praveen kukatpally Preetham dsnr Rajshekhar dsnr Rammohan kukatpally M M F F F M F M M M F M M M F F F F F F F M F F F M M M M vidyanagar miyapur jamestreet nizampet himayathnagar lb nagar miyapur nizampet nizampet kukatpally sr nagar kukatpally erragadda mehidipatnam lingampally chintal lingampally nizampet sr nagar mehdipatnam nizampet mehidipatnam nizampet vasanth nagar nizampet nizampet lb nagar dsnr nizampet houseloan studentloan studentloan studentloan studentloan studentloan studentloan houseloan houseloan studentloan studentloan studentloan studentloan houseloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan studentloan 5% 5% 5% 5% 5% 5% 5% 13% 13% 5% 5% 5% 5% 13% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 5% 0123-4567-0924-1261 0123-4567-0924-1262 0123-4567-0924-1264 0123-4567-0924-1265 0123-4567-0924-1268 0123-4567-0924-1270 0123-4567-0924-1271 0123-4567-0924-1272 0123-4567-0924-1273 0123-4567-0924-1274 0123-4567-0924-1276 0123-4567-0924-1277 0123-4567-0924-1278 0123-4567-0924-1280 0123-4567-0924-1281 0123-4567-0924-1282 0123-4567-0924-1284 0123-4567-0924-1285 0123-4567-0924-1286 0123-4567-0924-1288 0123-4567-0924-1290 0123-4567-0924-1291 0123-4567-0924-1292 0123-4567-0924-1293 0123-4567-0924-1294 0123-4567-0924-1295 0123-4567-0924-1296 0123-4567-0924-1297 0123-4567-0924-1298 SELECT * FROM CARDINFO; OUTPUT: AC C O UNT _NUMB E R 09241A1256 09241A1257 09241A1258 09241A1259 09241A1260 09241A1261 09241A1262 09241A1263 09241A1264 09241A1265 09241A1266 09241A1267 09241A1268 09241A1269 09241A1270 09241A1271 09241A1272 09241A1273 09241A1274 09241A1276 09241A1277 09241A1278 09241A1280 09241A1281 09241A1282 09241A1283 09241A1284 09241A1285 09241A1286 09241A1288 09241A1290 09241A1291 09241A1292 09241A1293 09241A1294 09241A1295 09241A1296 09241A1297 09241A1298 09241A1299 C AR D _NUMB E R 0123-4567-0924-1256 0123-4567-0924-1257 0123-4567-0924-1258 0123-4567-0924-1259 0123-4567-0924-1260 0123-4567-0924-1261 0123-4567-0924-1262 0123-4567-0924-1263 0123-4567-0924-1264 0123-4567-0924-1265 0123-4567-0924-1266 0123-4567-0924-1267 0123-4567-0924-1268 0123-4567-0924-1269 0123-4567-0924-1270 0123-4567-0924-1271 0123-4567-0924-1272 0123-4567-0924-1273 0123-4567-0924-1274 0123-4567-0924-1276 0123-4567-0924-1277 0123-4567-0924-1278 0123-4567-0924-1280 0123-4567-0924-1281 0123-4567-0924-1282 0123-4567-0924-1283 0123-4567-0924-1284 0123-4567-0924-1285 0123-4567-0924-1286 0123-4567-0924-1288 0123-4567-0924-1290 0123-4567-0924-1291 0123-4567-0924-1292 0123-4567-0924-1293 0123-4567-0924-1294 0123-4567-0924-1295 0123-4567-0924-1296 0123-4567-0924-1297 0123-4567-0924-1298 0123-4567-0924-1299 C AR D _T Y P E AT M D E B IT AT M AT M AT M D E B IT AT M AT M AT M AT M AT M AT M AT M D E B IT AT M AT M D E B IT D E B IT AT M AT M AT M AT M D E B IT AT M AT M D E B IT AT M AT M AT M AT M AT M AT M AT M AT M AT M AT M AT M AT M AT M D E B IT SELECT * FROM CUSINFO; OUTPUT: AC C O UNT _NUMB E R 09241A1256 09241A1257 09241A1258 09241A1259 09241A1260 09241A1261 09241A1262 09241A1263 09241A1264 09241A1265 09241A1266 09241A1267 09241A1268 09241A1269 09241A1270 09241A1271 09241A1272 09241A1273 09241A1274 09241A1276 09241A1277 09241A1278 09241A1279 09241A1280 09241A1281 09241A1282 09241A1283 09241A1284 09241A1285 09241A1286 09241A1287 09241A1288 09241A1290 09241A1291 09241A1292 09241A1293 09241A1294 09241A1295 09241A1296 09241A1297 09241A1298 09241A1299 C US _NAME GE ND E R Abhiram M Akhil R eddy M Ambedkar M S ai K ris hna M Anudeep M Avinas h M B harath M C haitanya M D eepika F D harani F D heeraj M D ivya F D ivyani F Gangadhar M Gautham M Geetha F Gowtham M Hars havardhanM Hars ha yadav M Himaja F J ayanth M K arthik M K ris hna C haitanya M K ris hna M L avanya F L illyrani F Mahes h M Manas a R eddyF Manas a F Meghana F Meghana s indhoori F Mehabunnis a F Neha F Nikhil M P annaga F P ooja F P rathiba F P raveen M P reetham M R ajs hekhar M R ammohan M R ames h M AGE 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 19 AD D R E S S B AL ANC E patanc heru 5600 lb nagar 5700 c hintal 5800 niz ampet 5900 s r nagar 6000 vidyanagar 6100 miyapur 6200 balanagar 6300 james treet 6400 niz ampet 6500 niz ampet 6600 niz ampet 6700 himayathnagar6800 niz ampet 6900 lb nagar 7000 miyapur 7100 niz ampet 7200 niz ampet 7300 kukatpally 7400 s r nagar 7600 kukatpally 7700 erragadda 7800 s ec underabad7900 mehidipatnam8000 lingampally 8100 c hintal 8200 khairatabad 8300 lingampally 8400 niz ampet 8500 s r nagar 8600 niz ampet 8700 mehdipatnam8800 niz ampet 9000 mehidipatnam9100 niz ampet 9200 vas anth nagar9300 niz ampet 9400 niz ampet 9500 lb nagar 9600 ds nr 9700 niz ampet 9800 niz ampet 9900 B R ANC H patanc heru lb nagar balanagar kukatpally s r nagar s ec underabad miyapur balanagar s ec underabad kukatpally kukatpally kukatpally himayathnagar kukatpally ds nr miyapur kukatpally kukatpally kukatpally s r nagar kukatpally s r nagar s ec underabad mehidipatnam miyapur balanagar khairatabad miyapur kukatpally s r nagar kukatpally mehidipatnam kukatpally mehidipatnam kukatpally kukatpally kukatpally kukatpally ds nr ds nr kukatpally kukatpally SELECT * FROM EMPINFO; OUTPUT: ID E MP _ID 9241201 9241202 9241203 9241204 9241205 9241206 9241207 9241208 9241209 9241210 9241211 9241212 9241213 9241214 9241215 9241216 9241217 9241218 9241219 9241220 9241221 9241222 9241223 9241224 9241225 9241226 9241227 9241228 9241229 9241230 9241231 9241232 9241233 9241234 9241235 9241236 9241237 9241238 9241239 9241240 E MP _NAME Aas hrith Anji Adithya As his h Anves h B abu B havani B hanumati B havya C handana C hitra Haris h K averi K ranthi K is hore Manis h Manoj Nares h Nagendra Naveen Nayana P riyankapally P rathyus ha P avani P raneeth P avan R ajes h R ajeev R agav R ithes h R akes h S atees h S owmya S oundarya S ravani S hravya S ac hin S hyam S ampath Uday B R ANC H balanagar kukatpally lb nagar balanagar kukatpally miyapur s r nagar ds nr kukatpally mehidipatnam khairatabad balanagar s r nagar ds nr mehidipatnam balanagar miyapur kukatpally ds nr mehidipatnam s r nagar kukatpally miyapur balanagar kukatpally s ec underabad mehidipatnam s r nagar miyapur kukatpally ds nr s r nagar mehidipatnam balanagar s ec underabad miyapur s r nagar K hairatabad mehidipatnam miyapur S T AT US Manager S r Ac c ountant Manager C lerk Manager S r Ac c ountant C lerk Manager C lerk C lerk S r Ac c ountant C lerk C lerk C as hier Manager S r Ac c ountant C lerk C as hier C lerk C as hier S r Ac c ountant C lerk Manager C as hier C lerk C lerk C lerk C lerk C lerk C lerk S r Ac c ountant C lerk S r Ac c ountant C lerk C as hier C lerk C as hier Manager C lerk C as hier S AL AR Y 50000 20000 50000 7500 50000 20000 7500 50000 7500 7500 20000 7500 7500 15000 50000 20000 7500 15000 7500 15000 20000 7500 50000 15000 7500 7500 7500 7500 7500 7500 20000 7500 20000 7500 15000 7500 15000 50000 7500 15000 SELECT * FROM LOANINFO; OUTPUT: ID AC C O UNT _NUMB E R 09241A1256 09241A1257 09241A1258 09241A1259 09241A1260 09241A1261 09241A1262 09241A1263 09241A1264 09241A1265 09241A1266 09241A1267 09241A1268 09241A1269 09241A1270 09241A1271 09241A1272 09241A1273 09241A1274 09241A1276 09241A1277 09241A1278 09241A1280 09241A1281 09241A1282 09241A1283 09241A1284 09241A1285 09241A1286 09241A1288 09241A1290 09241A1291 09241A1292 09241A1293 09241A1294 09241A1295 09241A1296 09241A1297 09241A1298 09241A1299 AC C O UNT _B R ANC H miyapur lb Nagar balanagar kukatpally s r nagar s ec undrabad miyapur balanagar s ec undrabad kukatpally kukatpally kukatpally himayatnagar kukatpally ds nr miyapur kukatpally kukatpally kukatpally s r nagar kukatpally s r nagar mehidipatnam miyapur balanagar s r nagar miyapur kukatpally s r nagar mehidipatnam kukatpally mehidipatnam kukatpally kukatpally kukatpally kukatpally ds nr ds nr kukatpally kukatpally L O AN_T Y P E s tudentloan hous eloan s tudentloan s tudentloan s tudentloan hous eloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan hous eloan s tudentloan s tudentloan hous eloan hous eloan s tudentloan s tudentloan s tudentloan s tudentloan hous eloan s tudentloan s tudentloan hous eloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan s tudentloan hous eloan L O AN_AMO UNT 50000 100000 50000 50000 50000 100000 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000 100000 100000 50000 50000 50000 50000 100000 50000 50000 100000 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000 100000 Select * from ACCINFO; OUTPUT: ACCOUNT_NUMBER 09241A1256 09241A1257 09241A1258 09241A1259 09241A1260 09241A1261 09241A1262 09241A1263 09241A1264 09241A1265 09241A1266 09241A1267 09241A1268 09241A1269 09241A1270 09241A1271 09241A1272 09241A1273 09241A1274 09241A1276 09241A1277 09241A1278 09241A1280 09241A1281 09241A1282 09241A1283 09241A1284 09241A1285 09241A1286 09241A1288 09241A1290 09241A1291 09241A1292 09241A1293 09241A1294 09241A1295 09241A1296 09241A1297 09241A1298 09241A1299 ACCOUNT_TYPE savings savings fixed savings savings savings fixed savings savings savings savings savings savings fixed savings savings savings savings savings fixed savings savings savings savings fixed savings savings savings fixed savings fixed savings savings savings savings fixed savings savings savings fixed ACCOUNT_BRANCH miyapur lb nagar balanagar kukatpally sr nagar secunderabad miyapur balanagar secunderabad kukatpally kukatpally kukatpally himayathnagar kukatpally dsnr miyapur kukatpally kukatpally kukatpally sr nagar kukatpally sr nagar mehidipatnam miyapur balanagar sr nagar miyapur kukatpally sr nagar mehidipatnam kukatpally mehidipatnam kukatpally kukatpally kukatpally kukatpally dsnr dsnr kukatpally kukatpally BALANCE 5600 5700 5800 5900 6000 6100 6200 6300 6400 6500 6600 6700 6800 6900 7000 7100 7200 7300 7400 7600 7700 7800 8000 8100 8200 8300 8400 8500 8600 8800 9000 9100 9200 9300 9400 9500 9600 9700 9800 9900 SELECT CUS_NAME FROM CUSTINFO1 WHERE ACCOUNT_NUMBER<'O9241A1270'UNION SELECT EMP_NAME FROM EMPINFO WHERE EMP_ID<'O9241220'; CUS_NAME Aashrith Adithya Anji Anudeep Anvesh Ashish Avinash Babu Bhanumati Bharath Bhavani Bhavya Chandana Chitra Deepika Dharani Divyani Gautham Geetha Gowtham Harish Harsha yadav Harshavardhan Himaja Jayanth Karthik Kaveri Kishore Kranthi Krishna Krishna Rao Lavanya Lillyrani Manasa Manasa Reddy Manish Manoj Meghana Mahesh Mehabunnisa Nagendra Naresh SELECT * FROM(SELECT ROWNUM r,EMP_ID,EMP_NAME,STATUS,SALARY,BRANCH FROM EMPINFO); OUTPUT: R 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 EMP_ID 9241201 9241202 9241203 9241204 9241205 9241206 9241207 9241208 9241209 9241210 9241211 9241212 9241213 9241214 9241215 9241216 9241217 9241218 9241219 9241220 9241221 9241222 9241223 9241224 9241225 9241226 9241227 9241228 9241229 9241230 9241231 9241232 9241233 9241234 9241235 9241236 9241237 9241238 9241239 9241240 EMP_NAME Aashrith Anji Adithya Ashish Anvesh Babu Bhavani Bhanumati Bhavya Chandana Chitra Harish Kaveri Kranthi Kishore Manish Manoj Naresh Nagendra Naveen Nayana Priyankapally Prathyusha Pavani Praneeth Pavan Rajesh Rajeev Ragav Rithesh Rakesh Sateesh Sowmya Soundarya Sravani Shravya Sachin Shyam Sampath Uday STATUS Manager Sr Accountant Manager Clerk Manager Sr Accountant Clerk Manager Clerk Clerk Sr Accountant Clerk Clerk Cashier Manager Sr Accountant Clerk Cashier Clerk Cashier Sr Accountant Clerk Manager Cashier Clerk Clerk Clerk Clerk Clerk Clerk Sr Accountant Clerk Sr Accountant Clerk Cashier Clerk Cashier Manager Clerk Cashier SALARY 50000 20000 50000 7500 50000 20000 7500 50000 7500 7500 20000 7500 7500 15000 50000 20000 7500 7500 7500 15000 20000 7500 50000 15000 7500 7500 7500 7500 7500 7500 20000 7500 20000 7500 15000 7500 15000 50000 7500 15000 BRANCH balanagar kukatpally lb nagar balanagar kukatpally miyapur sr nagar dsnr kukatpally mehidipatnam khairatabad balanagar sr nagar dsnr mehidipatnam balanagar miyapur kukatpally dsnr mehidipatnam sr nagar kukatpally miyapur balanagar kukatpally secunderabad mehidipatnam sr nagar miyapur kukatpally dsnr sr nagar mehidipatnam balanagar secunderabad miyapur sr nagar Khairatabad mehidipatnam miyapur SELECT * FROM EMPINFO WHERE MOD(id,2)=0; OUTPUT: ID 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 EMP_ID 9241202 9241204 9241206 9241208 9241210 9241212 9241214 9241216 9241218 9241220 9241222 9241224 9241226 9241228 9241230 9241232 9241234 9241236 9241238 9241240 EMP_NAME Anji Ashish Babu Bhanumati Chandana Harish Kranthi Manish Naresh Naveen Priyankapally Pavani Pavan Rajeev Rithesh Sateesh Soundarya Shravya Shyam Uday BRANCH kukatpally balanagar miyapur dsnr mehidipatnam balanagar dsnr balanagar kukatpally mehidipatnam kukatpally balanagar secunderabad sr nagar kukatpally sr nagar balanagar miyapur Khairatabad miyapur STATUS Sr Accountant Clerk Sr Accountant Manager Clerk Clerk Cashier Sr Accountant Cashier Cashier Clerk Cashier Clerk Clerk Clerk Clerk Clerk Clerk Manager Cashier SELECT * FROM EMPINFO WHERE ID>5 AND ID<10; OUTPUT: ID 6 7 8 9 EMP_ID 9241206 9241207 9241208 9241209 EMP_NAME Babu Bhavani Bhanumati Bhavya BRANCH miyapur sr nagar dsnr kukatpally STATUS Sr Accountant Clerk Manager Clerk SALARY 20000 7500 50000 7500 SALARY 20000 7500 20000 50000 7500 7500 15000 20000 15000 15000 7500 15000 7500 7500 7500 7500 7500 7500 50000 15000