
create table please for my SQL
data.txt
1,C,Richie,1955
2,JAVA Script,Karen,1958
4,Java,Schwartz,1959
5,C++,Ross,1959
6,prolog,Maria,1972
7,Perl,Wall,1987
create table book(ID varchar(20) primary key, Title varchar(20), Author varchar(40), year INT, price decimal(10,2) );
Now use insert command to insert data.
syntax for insertion:-
insert into book values(value1,value2,value3,value4,value5);
note:- if datatype in table is varchar, during insertion use quote for values. i.e. since ID in book is varchar. so we will write 'value1' ( look it is inside quote). Similarly for other varchar values.
DON'T FORGET TO HIT LIKE.
THANKS BY HEART.
create table please for my SQL data.txt 1,C,Richie,1955 2,JAVA Script,Karen,1958 4,Java,Schwartz,1959 5,C++,Ross,1959 6,prolog,Maria,1972 7,Perl,Wall,1987 ID Title...
help create a table
data.txt
1,C,Richie,1955
2,JAVA Script,Karen,1958
4,Java,Schwartz,1959
5,C++,Ross,1959
6,prolog,Maria,1972
7,Perl,Wall,1987
ID Title Year Price 1 Author Richie Karen 1955 1958 10 20 2 4 C JAVA Script Java C++ prolog 1959 10 5 Schwartz Ross Maria 1959 1972 20 10 6 7 Perl Wall 1987 20 The above relation has information about different books. The table information is already saved as txt format in Moodle under the name Quiz2Data.txt. Using MySql on your computer do: Create a database...
Database Management
ID Price 1 Author Richie Karen 10 2 4 Year 1955 1958 1959 Title с JAVA Script Java C++ prolog Perl 20 10 5 6 Schwartz Ross Maria 1959 1972 20 10 7 Wall 1987 20 The above relation has information about different books. The table information is already saved as txt format in Moodle under the name Quiz2Data.txt. Using MySql on your computer do: Create a database Create a table with name book, then load Quiz2Data.txt (check...
Database Management
ID Title 1 Author Richie Karen с JAVA Script Java Year 1955 1958 1959 Price 10 20 10 2 4 5 6 C++ prolog Peri Schwartz Ross Maria 1959 1972 20 10 7 Wall 1987 20 The above relation has formation about different books. The table information is already saved as txt format in Moodle under the name Quiz2Data.txt. Using MySql on your computer do: Create a database • Create a table with name book, then load Quiz2Data.txt...
Database Management
Gmail Maps © Hanson College BC... Dashboard Go to Help Search ID Year Price 1 Author Richie Karen 2 4 Title C JAVA Script Java C++ prolog 1955 1958 1959 1959 1972 10 20 10 Schwartz Ross Maria 5 6 20 10 7 Per Wall 1987 20 The above relation has information about different books. The table information is already saved as txt format in Moodle under the name Quiz2Data.txt. Using MySql on your computer do: Create a...