Find Jobs
Hire Freelancers

Design and optimise an SQL query for plotting markers on Google Maps

£20-250 GBP

Status
Publicerad nästan fem år sedan

£20-250 GBP

Betalning vid leverans
UPDATE: Just to clarify, I ONLY need the SQL query, I do not need any PHP or other code. I have a working solution already and just need to expand the SQL. I am a developer and will add your SQL into my existing code. I have a website that uses Google Maps to plot custom markers from a SQL database. The markers consist of store locations for ~10,000 currency suppliers in the UK. Visitors can enter their current location and see a list of currency suppliers within a 30-mile radius along with the supplier's corresponding exchange rate for a given currency. The problem I have is some suppliers have dozens of stores within a 30-mile radius of the search location which can look messy when the markers are plotted on the map. What I would like is to redesign the SQL query that finds these stores so that it does the following: 1) Find all stores within a 10-mile radius of the search location. 2) If there are multiple stores found for the same supplier, only return the first 5 for that supplier based on distance from the search location (i.e. the 5 closest stores). 3) Return a maximum of 50 results. The data is stored across three tables: Table 1 contains supplier information (name, website etc.). Table 2 contains marker information (including lat, long coordinates) for each store. Table 3 contains exchange rate information. The primary key in table 1 is a secondary key in tables 2 and 3. The final query must be fairly optimised (<1 second) as it will be placed on a medium-traffic website. I am open to changing the structure of one or more tables if necessary but would prefer not to.
Project ID: 19754023

Om projektet

19 anbud
Distansprojekt
Senaste aktivitet fem år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
19 frilansar lägger i genomsnitt anbud på £155 GBP för detta uppdrag
Använd avatar
Have a good day! I am very interested in your job. I have been working as a full stack web developer for over 10 years. I am highly skilled in MySQL and PHP so I feel confident that I can do your job without fail. I always insist for Creativity and Professionalism in each task. I would be the good resource for you.
£160 GBP Om 7 dagar
5,0 (76 omdömen)
9,4
9,4
Använd avatar
Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I can help you as an experienced PHP/MySQL programmer to update/rewrite SQL query and PHP code according to your description: 1. 10 miles radius search, 2. not more than first 5 stores per supplier. Sort by distance. Show 5 most closest stores per supplier. 3. 50 markers maximum. It will be conjunction: new SQL query and new PHP code. Query will be optimized. 2000+ successfully completed projects speak for me. Links and reviews from my past clients available in my profile. I am an individual, I am not a company in any meaning. I need FTP or SSH or CPanel access to start right now. I can communicate via Freelancer.com. -- Sergey aka Takereal
£90 GBP Om 2 dagar
5,0 (2082 omdömen)
8,3
8,3
Använd avatar
Dear Client, Please keep trust on us we can surely do your project. We are really interested to work with you and build a healthy longterm relationship. Warm Regards, Om Infowave
£250 GBP Om 9 dagar
5,0 (148 omdömen)
7,9
7,9
Använd avatar
Dear sir, I am very good in Database handling and have very good experience in Development please review my profile Thanks
£400 GBP Om 7 dagar
4,7 (117 omdömen)
7,5
7,5
Använd avatar
Hi, I Would like to work for you on these query changes. I have gone through to the details that you have shared and its clear to me what should be the out out of new query to get the expected results. I am expertise in Plsql, msssql, mysql and postgresql with 8 years of experience. I can write complex queries using all features available in respective database. Thanks, Sudesh Arora I
£100 GBP Om 1 dag
5,0 (21 omdömen)
5,0
5,0
Använd avatar
Hello, i'll implement distance calculation in mysql stored function, this solution allows posibilty to perform all calculations using mysql server instead of php and will work very fast. SQL only, no any other code :) Regards, Alex
£25 GBP Om 2 dagar
5,0 (22 omdömen)
4,7
4,7
Använd avatar
Hello! I have briefly read the description on Design-optimise-SQL-query development project, and I can deliver as per the requirements however I need us to discuss for more clarity on the details, deadline and budget as well. I reach out to see whether the opportunity is still available. If the job’s no longer available, I’d appreciate you throwing my hat into the ring for any similar opportunities in the future. Here is my url: https://www.freelancer.com/u/VirtualBrainInc . Thank you for your time, I look forward to hearing from you soon, Best Wishes, Kevin M
£60 GBP Om 3 dagar
5,0 (7 omdömen)
3,9
3,9
Använd avatar
I've 7+ years of experience in Web Development/Web design, Mobile App Development(IOS/Android), Graphic design, Logo Design Business Cards & Stationery, Flyers & Brochures, Packaging Design, Web & Mobile Design, Social Media Design, Banner Ads, Photoshop Editing, Blogs, article writing, SEO, Social media marketing, Google Ads, Online Advertising, Google Adsense, Affiliate Marketing, Email Marketing, Mobile Marketing, Lead generation, online reputation management Skills - HTML, CSS, JavaScript, Bootstrap, Angular js, PHP, CI, Laravel, Shopify, Angular (All version, JS), Express js, backbone js, Node js, React native, Mongo DB, React js, node js, Python, Python scripting, Data scraping, Selenium testing, MySQL, PostgreSQL, SQLite, AWS(EC2, S3), Digital ocean droplet, Heroku, Gunicorn, Nginx, Apache, Django, DRF(Django Template, rest API, rest framework, unit test cases), Machine learning, Artificial intelligence, image processing, open cv, Deep learning, Sentimental analysis, Data science Magento , Android , Java, WordPress, Website Builders & CMS, Web Programming, E-commerce, Desktop applications, Support & IT, Chatbots, Data Analysis & Reports, Convert Files, Databases, User Testing, QA. I am very much interested in your job please invite me for further discussion and we will go ahead. Thank you...
£150 GBP Om 3 dagar
5,0 (2 omdömen)
2,4
2,4
Använd avatar
Hi, I can do this task very quickly and effectively. I have hands on experience in working with AJAX, PHP & database. Lets do this. Looking forward to work with you!
£200 GBP Om 7 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned "I can do this job and give you an efficient job that will be very acceptable and presentable. I and my team work on web development and mobile apps and I can assure you that you will never be disappointed"
£135 GBP Om 7 dagar
0,0 (1 omdöme)
0,0
0,0
Använd avatar
This project has a low dificult curve. I'm starting on freelancer platform, and a see here a great chance to work in something I like. I'm programmer too, but I don't will put myself in your project. I swear! (if you don't invite me, offcourse).
£50 GBP Om 7 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
Hello, I have over 15yrs experience writing SQL Code, along with lots of experience designing and implementing database solutions. I can definitely provide you with the required SQL Query for your project.
£200 GBP Om 7 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I've worked extensively with SQL on multiple occasions, and I can deliver on your requirements within a week.
£250 GBP Om 7 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för UNITED KINGDOM
London, United Kingdom
5,0
1
Verifierad betalningsmetod
Medlem sedan maj 23, 2019

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.