W
WebRaster
Hi to everyone, I need an helping hand on this question:
I'm bulding an home page of a cars seller, I need to display in this page
nine photos and descriptions taken by the database, 5 of this are fixed BUT
the other 4 elements had to be choosen in database according these select
criteria: the cheapest, the last two cars inserted in database, and the most
clicked in site. In addiction I have to avoid the accidental repetition of
elements on page, for example the ceapest car would be the last inserted in
database so could be displayed twice.
The database structure in this:
Id
product_name
description
price
number_of_click
insertion_data
My question is it's possibile create a query that can work for this problem?
THANK YOU IN ADVANCE
I'm bulding an home page of a cars seller, I need to display in this page
nine photos and descriptions taken by the database, 5 of this are fixed BUT
the other 4 elements had to be choosen in database according these select
criteria: the cheapest, the last two cars inserted in database, and the most
clicked in site. In addiction I have to avoid the accidental repetition of
elements on page, for example the ceapest car would be the last inserted in
database so could be displayed twice.
The database structure in this:
Id
product_name
description
price
number_of_click
insertion_data
My question is it's possibile create a query that can work for this problem?
THANK YOU IN ADVANCE