You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sales_order so,
sales_order_details sod,
product_master p
where c.client_no = so.client_no
and so.s_order_no = sod.s_order_no
and sod.product_no = p.product_no
and p.description = 'CD DRIVE';
-- 4. WAP in PL/SQL to inverse a number, eg. Number 5639 when inverted must be display output 9365.
32
-
sql
33
29
DECLARE a INT :=5639;
34
30
b INT :=0;
35
31
c INT;
@@ -42,7 +38,6 @@ WHEN a = 0;
42
38
END LOOP;
43
39
END;
44
40
-- 5. WAP in PL/SQL for changing the price of product ‘P00001’ to 4000 if the price is less than 4000 in product_master table. The change is recorded in the old_price_table along with product_no and the date on which the price was changed last.
0 commit comments