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....

Комментарии • 28

  • @rafatmuizmahmud2698
    @rafatmuizmahmud2698 8 лет назад +2

    best explanations that I've seen. Plain and simple. Thanks.

  • @theodorehagan8732
    @theodorehagan8732 8 лет назад

    This is one of the best explanations that I've seen. Plain and simple. Thanks.

  • @zephyrs5
    @zephyrs5 13 лет назад

    Elaborate and helpful. Thank you!

  • @saiful021107
    @saiful021107 9 лет назад +1

    thanks for your nice presentation

  • @lukki7ster
    @lukki7ster 9 лет назад

    thanks! straight forward

  • @XcodySyringe
    @XcodySyringe 12 лет назад

    awesome!!! thanks man!!!

  • @mohitnarvariya7961
    @mohitnarvariya7961 2 года назад

    is there any shortcut to rum query by keyboard???????????

  • @sergepuhoff6419
    @sergepuhoff6419 7 лет назад

    thank you

  • @mramkumardit
    @mramkumardit 12 лет назад

    same sql quary i am using but is show some error (invaild char) please help mew

  • @kaka-tc4pp
    @kaka-tc4pp 5 лет назад

    Good

  • @ti_solution
    @ti_solution 10 лет назад

    hyi....!!
    have any Body Oracle Presentation in Power Point..>..>?????

  • @ahmedmastor2363
    @ahmedmastor2363 11 лет назад

    thanks

  • @GodEmperorSuperStar
    @GodEmperorSuperStar 8 лет назад

    Did you used to work as a librarian?

  • @pratikshajadhav6086
    @pratikshajadhav6086 5 лет назад

    Not seeing properly its blur

  • @wise4501
    @wise4501 4 года назад

    unable to database login what shout i do

  • @mehdi1875
    @mehdi1875 10 лет назад

    can we , show tables in oracle 10g , i mean real tables , like those in microsoft acces ?????

    • @peacemekka
      @peacemekka 3 года назад

      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.

  • @abiqan
    @abiqan 10 лет назад +1

    when i am typing VARCHAR, it shows an error...
    ORA-00904: : invalid identifier
    What should I do

  • @kazialhasan5988
    @kazialhasan5988 12 лет назад

    THANKS A LOT!!
    BUT HAVING A PROBLEM!!
    USED THE SAME CODE BUT IT SAYS---
    "ORA-00907 MISSING RIGHT PARANTHESIS"
    CAN U HELP!! PLEASE

    • @minahzain8381
      @minahzain8381 4 года назад

      Same😭

    • @prernagarg2203
      @prernagarg2203 4 года назад

      @@minahzain8381 meri toh ho gyi problem solve out okk

    • @prernagarg2203
      @prernagarg2203 4 года назад

      @@minahzain8381 dubara sai same to same banakar dekho koi error nhi ayegi meri toh nhi jbh mainai dubara karkai dekha same to same okk

  • @cristophervega
    @cristophervega 12 лет назад

    ORA-00902 it throw this error!

  • @parthgandhi2550
    @parthgandhi2550 4 года назад

    Delete

  • @ankitsharma7545
    @ankitsharma7545 11 лет назад

    thanks