0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
19 Ansichten2 Seiten
Insert into book_det 2 values('&b_name',&b_no,'&author'),&b_prise. Enter value for b_name: DBMS Enter value for a_no: 107 Enter value for author: Korth Enter value for book_prise: 300 old 2: values('DBMS',107,'Korth',300) 1 row created.
Insert into book_det 2 values('&b_name',&b_no,'&author'),&b_prise. Enter value for b_name: DBMS Enter value for a_no: 107 Enter value for author: Korth Enter value for book_prise: 300 old 2: values('DBMS',107,'Korth',300) 1 row created.
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als TXT, PDF, TXT herunterladen oder online auf Scribd lesen
Insert into book_det 2 values('&b_name',&b_no,'&author'),&b_prise. Enter value for b_name: DBMS Enter value for a_no: 107 Enter value for author: Korth Enter value for book_prise: 300 old 2: values('DBMS',107,'Korth',300) 1 row created.
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als TXT, PDF, TXT herunterladen oder online auf Scribd lesen
2 (b_name varchar2(5), 3 b_no number(3), 4 author varchar(15), 5 b_prise number(5)); Table created. SQL> desc book_det; Name Null? Type ------------------------------- -------- ---- B_NAME VARCHAR2(5) B_NO NUMBER(3) AUTHOR VARCHAR2(15) B_PRISE NUMBER(5) SQL> insert into book_det 2 values('&b_name',&b_no,'&author',&b_prise); Enter value for b_name: DBMS Enter value for b_no: 107 Enter value for author: Korth Enter value for b_prise: 300 old 2: values('&b_name',&b_no,'&author',&b_prise) new 2: values('DBMS',107,'Korth',300) 1 row created. SQL> / Enter value for b_name: OS Enter value for b_no: 103 Enter value for author: Galvin Enter value for b_prise: 200 old 2: values('&b_name',&b_no,'&author',&b_prise) new 2: values('OS',103,'Galvin',200) 1 row created. SQL> / Enter value for b_name: CPP Enter value for b_no: 106 Enter value for author: Nisar Ali Enter value for b_prise: 120 old 2: values('&b_name',&b_no,'&author',&b_prise) new 2: values('CPP',106,'Nisar Ali',120) 1 row created. SQL> / Enter value for b_name: ES Enter value for b_no: 102 Enter value for author: Muhammad Ali Enter value for b_prise: 350 old 2: values('&b_name',&b_no,'&author',&b_prise) new 2: values('ES',102,'Muhammad Ali',350) 1 row created. SQL> / Enter value for b_name: E-COM Enter value for b_no: 108 Enter value for author: kaLAKOTA Enter value for b_prise: 250 old 2: values('&b_name',&b_no,'&author',&b_prise) new 2: values('E-COM',108,'kaLAKOTA',250) 1 row created. SQL> select * from book_det; B_NAM B_NO AUTHOR B_PRISE ----- --------- --------------- --------- DBMS 107 Korth 300 OS 103 Galvin 200 CPP 106 Nisar Ali 120 ES 102 Muhammad Ali 350 E-COM 108 kaLAKOTA 250 SQL> delete from book_det 2 where b_no>105; 3 rows deleted. SQL> select * from book_det; B_NAM B_NO AUTHOR B_PRISE ----- --------- --------------- --------- OS 103 Galvin 200 ES 102 Muhammad Ali 350 SQL>