473,513 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Query on popular products with graph report!!!

1 New Member
Hi I need to find out how to make a query which will show the popular products in the database by area, the database involves a DVD rental system... I have 3 tables in my database .... one with customer infromation....one with the DVD information such as genre and one table where the loans are recorded such as date taken out, date returned, rental ID etc...

I want to create a query which will allow me to analyse popular products...such as which ones are most loaned by genre and higly rated by customers etc.... I would like to be able to show this in form of a chart/graph in a report/form where i can choose using a combo box the area to analyse the data such as most loaned by genre, rating, type etc...

PLEASE HELP!!!
Apr 13 '10 #1
1 1483
Delerna
1,134 Recognized Expert Top Contributor
Not enough detail for me to give an example .... but

Make agregate queries that count the number of times each movie/genre/whatever has been rented and sort them in descending order by the number of times rented

Then select the top 10/20/??? records from them.

Now you can use those queries as data sources for your graphs.
Apr 13 '10 #2

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

Similar topics

2
1465
by: frizzle | last post by:
Hi there I have a products site with a mysql backend. I have two tables: 1 with series, 1 with products belonging to certain series. Series looks like: - id - kind
0
992
by: Ellen Manning | last post by:
I've developed an A2K report for a user who wants the results of a survey printed. She wants the possible answers listed below each question along with a count of the answers for that question. ...
0
1143
by: TD | last post by:
I have a report that has the MS Graph control on it. I have a query setup for the control. I have a form with 6 check boxes where the user can select which fields they want to appear in the...
4
3808
by: Jimmy | last post by:
I have a form with a command button on it that is supposed to open up a report and use a query to populate it. DoCmd.OpenReport "rptMailingList", acViewPreview, "qryMailingListChristmas" ...
5
3963
by: mebrabham | last post by:
Hello, I am trying to create a running subtotal in a query and then graph the running subtotal for each city group. The data looks like this in the table (for illustration): My City My...
5
1527
by: tvmadarsh | last post by:
Hai Pls help me to write a query I am having a table with name stock
7
3995
by: tsuedesu | last post by:
Hi, I am trying to create a report that will show the totals of a query. I have a table as follows Table :Sales Fields: CustName, Product, $Value, VolumeOrdered, DeliveredQuantity, Period ...
13
2512
by: heart01 | last post by:
Hello All, I have been trying to work this out myself based on a response that I received yesterday which worked however I think I am lost in the process. I have a form which I have 6 calculated...
6
1532
by: jleist | last post by:
I am relatively new to Access and I am using the 2003 version. Here is my issue: I have a report that is a summary of the products we manufacture. On the report I want it to list the...
0
7257
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7157
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
7379
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
5682
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.