Professional Documents
Culture Documents
SQL> connect
Enter user-name: system
Enter password:
Connected.
SQL> create table student2(roll_no number(3),name varchar(25),address varchar(10)
age number(2));
create table student2(roll_no number(3),name varchar(25),address varchar(10) age
number(2))
*
ERROR at line 1:
ORA-00907: missing right parenthesis
Table created.
Table created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
COURSE_ID ROLL_NO
---------- ----------
1 1
2 2
3 3
*
ERROR at line 1:
ORA-00904: "SSTUDENT2"."ROLL_NO": invalid identifier
SQL> select student2.name,student2.address,course.course_id from student2 right
join course on student2.roll_no=course.roll_no;
SQL>