Professional Documents
Culture Documents
CUSTOMER_NAME CUSTOMER_STREET
Adams Spring
Curry North
Hayes Main
Jones Main
Smith Main
Smith Main
Williams Nassau
#2.Find the customers name, their city and loan amount that they borrow [
borrower, customer, loan]
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
#3.Find the customers who have loan between 1000 and 2500 [loan,
borrower]
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
CUSTOMER_NAME AMOUNT
Jones 1000
Smith 2000
Hayes 1500
Jackson 1500
Williams 1000
Adams 1300
#4. Find the customer_name, loan_number, amount who borrows the maximum
amount [ borrower, loan]
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
CUSTOMER_NAME LOAN_NUMBER AMOUNT
Smith L-23 2000
#########################################################################
##############
CLASS NO: 06
DATED: 13-10-2009
TITLE: Primary key,Foreign key,update table,alter table;
----------------------------------------------------------
#
CREATE TABLE "info" AND INSERT DATA:
--------------------------------------
or
#
CREATE TABLE "hall" AND INSERT DATA:
----------------------------------------
# update record
-------------------
update info
set mobile=01717221448
where name='bijan';
update info
set mobile=01678145434
where name='sazzad';
update info
set mobile=01717189775
where name='anup';
/*
---------------------------------
password
old
new
retype