sql server 2008 - SQL query for game rental website - game delivery report -
I am creating a sports rental website using MS SQL 08 and give me a report I have to be prepared to give a list of all the games that need to be posted and who
This question will have to go through various steps: -
- The list of users has not reached their sports quota for the month they have chosen the membership Packages and rental are based on the table.
- Compare this list of users to your favorites list and add games to the game based on their highest priority and date.
- Selected games or games should be in stock, which need to compare volume level in the games table.
I have a SQL query, but it is not taking into account the dates that a user added a game to their favorites list, it works perfectly, the priority level. I need to change this question, so this is the priority of the game if it adds the oldest date. In this sample data in SQL FIDE, I should give 27 barcodes to match with the need of speed rivals, but it is giving me FIFA 14 because it is the first favorite record that sees it.
Besides, the report needs to show more than the game barcode, it needs to show usernames and game descriptions. It is working for the same user with a user entering manually but it should go through all the users.
If someone can help me with this question, then he will be very much appreciated, just in fact it is not known where to go from here.
Comments
Post a Comment