473,395 Members | 1,670 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Splittin up a table into smaller tables

Hello all,


Background info for the problem: I have started selling some ebooks on Amazon and I want to do some data analysis. Therefore, I thought that I would put all of the data into an Access database and link to it in Excel spreadsheets, whereafter I can do the analysis. The first screenshot shows how the data looks like in the database. I want to be able to split up the data according to each of the different amazon stores. As you can see in the screenshot the amount of information varies. If there are no sales in a store, it will say "there are no sales during this period", whereas if there are, it will include all of the ebooks that have been sold. If there have not been any ebooks sold, it will not be included. I thought that I would append the data for each store into their respective tables (US, UK, DE etc.). The problem occurs, how do I select all of the ebooks in the specific store and disregard everything else? As you can see there are some blank spaces after all of the information in a store. I thought that maybe I would have to find store name (eg. "Amazon Kindle US Store") loop it somehow and stop until it reaches a blank. But how do I do it exactly?
I am very comfortable creating queries, but I have extremely limited knowledge about SQL.


Screenshot of the situation




Thank you in advance
Oct 24 '14 #1
1 1186
Seth Schrock
2,965 Expert 2GB
You really should split the data into separate tables by the country. However, you do need to manipulate the data so that it is usable. See Database Normalization and Table Structures for an idea of how it should be and how it shouldn't be.
Oct 24 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jay | last post by:
Hi I have a huge table with over 100million records and on regular basis ineed to delete nearly a million records and insert a million records. Currently I delete indexes before going through the...
1
by: atahim | last post by:
I have a master table with over 300,000 records that i need to split into 500+ smaller tables. I have a branch field in the master that i can use as an identifier. I even created a branch table...
1
by: DAL | last post by:
I have two tables side by side and have set the height and width properties of both, hoping the borders would not move when I started typing in one of the tables. It's not working. When I type in...
8
by: Janelle.Dunlap | last post by:
My database is linked to external data from a single Excel spreadsheet. I currently have it so that the entire spreadsheet exports into one table, but really for the purpose of my database it will...
15
by: Gary Peek | last post by:
Can anyone tell us the browsers/versions that exhibit errors when tables are nested too deeply? And how many levels of nesting produces errors? (not a tables vs CSS question)
1
by: datapro01 | last post by:
X-No-Archive: Yes I have a questionabout reorging very large tables. Running DB2 8.1 Fixpack 6 on AIX 5.2 supporting Siebel. I've read through the docs I could find and the postings in this...
13
by: Davo | last post by:
Hi Folks, There seems to be something about not using tables for layout, but use divs instead. I'm not sure if I've got this right. If the output looks like what you want, then it shouldn't...
1
by: sandeep banerjee | last post by:
suppose i have got a project which uses 100 forms .there is a particular table say t_1 which is used in many forms .I want to make change in the code where ever the table t_1 ...
1
by: ramel | last post by:
Hi all, I have a problem related to javascript , ajax and jsp. Please see this url http://xil.co.in/print_screen_2.JPG. I am working on this form. There are some buttons (like submit ,...
5
by: bush3102 | last post by:
I have a table in MS Access that has +17K of records. I am trying to break down that table into smaller tables of 500 records each. Using the following code, I am able to create the temp table, but...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.