As an example, I use a simple select statement to return how many times a team has played on a rink. The available rinks in my example are 4, 5 and 6. I have attached a snapshot of the table rows returned.
Team, RinkNum, max(PlayedOnRink) as RinkUsedNum
RinkNum = 4 or RinkNum = 5 or RinkNum = 6
I also have the next match array and in this example, it is DCAEBF. I split into these 3 matches:
D v C
A v E
B v F
and I need to assign each match the best rinks to use and that is the rinks they have played on the least. It is important in bowls that teams don't keep playing on the same rink and usage for teams is distributed as evenly as possible.
I need to somehow take into account the table rows returned - for example, it shows Team A has played on Rink 4 twice already so shouldn't be assigned that rink, Team F has played on Rink 5 twice so shouldn't be assigned that rink.
The best result would be D v C is assigned Rink 4, A v E is assigned Rink 5 and B v F assigned Rink 6.
I don't know how much to offer for this project because I don't know what's involved so I've set it as a micro project £20.00 but will pay more if necessary. Thanks for looking.
I can efficiently assist you with query development because I am Senior SQL Developer having 10-plus years of professional experience and highly advanced expertise in implementation of complex enterprise SQL solutions.
13 freelanceri licitează în medie 35£ pentru acest proiect
Hello, As an expert in SQL, I am very much interested to do this project. I assume the database is in ms sql server? Thanks
-- I understood your requirements from SQL output from your details description and example... yes this is somehow challenging to get exact result from SQL query as you have desired but it is possible , i am 21 years Mai multe
Hi I am a Senior DBA and sql programmer with more than 15 years experience. I can help you. Regards
Hi there, Share me your db dump, and i have read your requirement. I think it can be done. i take payment once validated. I have 8 plus years of exp across various DB platforms. Regards, Gopal
SQL expert. I can help you. As 14+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating Mai multe
Hi , i am doing .net development using C#/Vb.net language since 2012 , and i have done many project on these duration and i am very well Polish of my skills. As per your Requirement i can do it easily and i will provi Mai multe
Hello Sir, I have vast experience of sql query. I will show you demo of your work when you want. Hope you look forward to work with me. Thank you
Hi Client! Your project is very interesting for me and also I have good experience in your project. If you hire me, you will get the wonderful results you need. I will wait your response. Thanks for reading my bid.
❤️Hello, Nocholas.❤️ I have read your sql project description carefuly and got to know you need help to sort your data. I have checked your attached images but I want to discuss about your project in detail via chat. Mai multe
Hi I have 15 years of experience in SQL Server Development. I should be able to help you with the project. Please ping me offline to Discuss further
Hi I feel you might need to have SQL function to help you decide which Rink to use when each time you have wo teams to play with eac other, right ? Also, you might does not want to use the rink that has just been used Mai multe
I actually really enjoy little puzzles like this, so I decided to go ahead and reproduce the sample data from your screenshot in my local instance. After a bit of playing around, I managed to write a script which solve Mai multe