SQL with Oracle 10g XE - Using CREATE TABLE to Build a Table
HTML-код
- Опубликовано: 9 сен 2024
- In this video I use the CREATE TABLE command to create three tables: Books, Publisher, and Author. I use these three tables as sample data. The code I entered in is:
CREATE TABLE BOOK
(
BOOK_ID VARCHAR(4) PRIMARY KEY,
ISBN_10 VARCHAR(10),
ISBN_13 VARCHAR(13),
TITLE VARCHAR(50),
CATEGORY VARCHAR(15),
PRICE DECIMAL(6,2),
BINDING VARCHAR(1),
PUB_DATE VARCHAR(4),
AUTHOR_ID SMALLINT,
PUBLISHER_ID SMALLINT
);
CREATE TABLE PUBLISHER
(
PUBLISHER_ID SMALLINT PRIMARY KEY,
PUBLISHER_NAME VARCHAR(40)
);
CREATE TABLE AUTHOR
(
AUTHOR_ID SMALLINT PRIMARY KEY,
AUTHOR_LAST VARCHAR(25),
AUTHOR_FIRST VARCHAR(20)
);
I have to create each table individually in the SQL commands window.
This video is part of a series of videos with the purpose of learning the SQL language. For more information visit Lecture Snippets at lecturesnippets....
best explanations that I've seen. Plain and simple. Thanks.
This is one of the best explanations that I've seen. Plain and simple. Thanks.
Yes, u r right
Elaborate and helpful. Thank you!
thanks for your nice presentation
thanks! straight forward
awesome!!! thanks man!!!
is there any shortcut to rum query by keyboard???????????
thank you
same sql quary i am using but is show some error (invaild char) please help mew
Good
hyi....!!
have any Body Oracle Presentation in Power Point..>..>?????
thanks
Did you used to work as a librarian?
Not seeing properly its blur
unable to database login what shout i do
can we , show tables in oracle 10g , i mean real tables , like those in microsoft acces ?????
If you want to display the table you can use " select * from table_name" without quotation marks. It should print the table in tabular form with all the borders and stuff. It will print coloumns in the order of creation though.
when i am typing VARCHAR, it shows an error...
ORA-00904: : invalid identifier
What should I do
Try varchar2
THANKS A LOT!!
BUT HAVING A PROBLEM!!
USED THE SAME CODE BUT IT SAYS---
"ORA-00907 MISSING RIGHT PARANTHESIS"
CAN U HELP!! PLEASE
Same😭
@@minahzain8381 meri toh ho gyi problem solve out okk
@@minahzain8381 dubara sai same to same banakar dekho koi error nhi ayegi meri toh nhi jbh mainai dubara karkai dekha same to same okk
ORA-00902 it throw this error!
Delete
thanks