Assignment 7 Lab Solution
Assignment 7 Lab Solution
iii.) Create an composite index on the sales_order_details table for the columns
s_order_no and product_no.
CREATE INDEX PK_SODON SALES_ORDER_DETAILS(S_ORDER_NO,PRODUCT_NO)
;iv).Create
an composite index ch_index on challan_header table for the columns challan no
and s_order_no.
CREATE INDEX CH_INDEXON CHALLAN_HEADER (CHALLAN_NO,S_ORDER_NO)
viii).Create a view client_view on client_master and rename the columnsas name, add1, add2,
city, pcode, state respectively
ix) Select the client names from client_view who lives in city ‘Bombay’.