Reference no: EM13947896
I created a database called "genomicdb" in MYSQL server with two tables: "gene" and "location". The tables are supposed to be populated with data from .txt files. One of the files, "gene.txt", works fine and populates fine in the table. But the other file, "location.txt", is skipping rows. Below is the code that I am using. I am also attaching the files that I am using to populate the tables.
#Created the tables.
mysql> create table gene
-> (gene_name varchar(20) not null,
-> gene_id varchar(20) not null primary key
-> );
Query OK, 0 rows affected (0.09 sec)
mysql> create table location
-> (chromosome varchar(10) not null,
-> strand varchar(10) not null,
-> cds_from varchar(30) not null primary key,
-> cds_to varchar(30) not null
-> );
Query OK, 0 rows affected (0.11 sec)
# Loaded the data. The second command is the one that is not working.
mysql> LOAD DATA LOCAL INFILE 'C:/Documents and Settings/Owner/Desktop/gene.txt' INTO TABLE gene FIELDS TERMINATED BY 't' LINES TERMINATED BY 'rn' IGNORE 1 LINES (gene_name, gene_id);
Query OK, 18962 rows affected (1.33 sec)
Records: 18962 Deleted: 0 Skipped: 0 Warnings: 0
LOAD DATA LOCAL INFILE 'C:/Documents and Settings/Owner/Desktop/location.txt' INTO TABLE location FIELDS TERMINATED BY 't' LINES TERMINATED BY 'rn' IGNORE 1 LINES (chromosome, strand, cds_from, cds_to);
Query OK, 17244 rows affected (1.33 sec)
Records: 18961 Deleted: 0 Skipped: 1717 Warnings: 0
Attachment:- gene.zip
Charge of adding a new department to a mall anchor
: You are in charge of expanding an existing grocery store by adding a new convenience store and gas station business unit. You are in charge of adding a new department to a mall anchor.
|
Natural moisture content of the soil
: An expansive soil has an active-zone thickness of 10 ft. The natural moisture content of the soil is 25% and its liquid limit is 60. Calculate the free surface swell of the expansive soil upon saturation.
|
Discuss the types of behavior that might be manifested
: Outline the goals a clinician might have when conducting clinical interviews with a child and his or her parents. Discuss the types of behavior that might be manifested by an individual with sever frontal lobe damage
|
Prepare a traditional income statement for each week
: Prepare a traditional income statement for each week. Calculate the average value-stream product cost for each week. What does this cost signal, if anything?
|
Create tables using database called "genomicdb"
: I created a database called "genomicdb" in MYSQL server with two tables: "gene" and "location". The tables are supposed to be populated with data from .txt files.
|
How did soldiers protest the war
: Describe the make-up of American soldiers during Vietnam. As the antiwar movement deepened, how did soldiers protest the war? Evaluate the conditions soldiers returned to in America following their service.
|
Charge of expanding an existing grocery store by adding
: You are in charge of expanding an existing grocery store by adding a new convenience store and gas station business unit. You are in charge of adding a new department to a mall anchor.
|
What contributions did they make
: Who were the muckrakers, and what contributions did they make? Overall, what impact did these contributions have on the Progressive movement at large?
|
Allowable point resistance for a base movement
: A drilled shaft in a medium sand is shown in Figure P10.9. Using the method proposed by Reese and O'Neill, determine the following: a. The net allowable point resistance for a base movement of 25 mm
|