Find Jobs
Hire Freelancers

Complex MySql query

$30-250 USD

Completed
Posted almost 13 years ago

$30-250 USD

Paid on delivery
We need a MySQL / DBA expert. We have a mysql databse, a java based webservice using jdbc and mobile apps that communicate with the service. Requirements: 1) Analyze/Make recommendations for optimizing and improving schema of an existing small mysql database (not currently in production, sample data, 8 tables total). Specifically we need recommendations for a Twitter like "follower" table. Our existing table looks like this: create table followers( user bigint, follower bigint, primary key(user, follower), key(follower, user), constraint `fk_user` foreign key (user) references userID(user), constraint `fk_friend` foreign key (friend) references userID(user) ); We need to know the best way to find both the logged in user's followers, and the people he/she is following. Should we also have a "following" table? We would like freelancer to make any database schema improvements. 2) Analyze/Optimize existing query for efficiency, etc. SELECT " + "[login to view URL], [login to view URL], [login to view URL], " + "[login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL]," + "[login to view URL], [login to view URL], [login to view URL] " + "FROM catchDetail as cd, ratingMaster as rm, species as sp" + " WHERE [login to view URL] = [login to view URL] and [login to view URL] = [login to view URL] and [login to view URL] = ? " ; 3) Create new query based on existing query - grab id of logged in user - This is done through our mobile app and transmitted to webservice - grab all of the people he is following - see if any of these people have any rows from the first query in the past X days and produce the same results as the first query. We need mixed results from all people the user is following who meet the criteria listed. - limit results to X rows at a time, be able to repeat the query and get the next X results We'll have more consulting work of this type available for the right freelancer. Please contact us with any questions.
Project ID: 1038714

About the project

8 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
thanks for checking my PM :)
$50 USD in 1 day
5.0 (1 review)
3.4
3.4
8 freelancers are bidding on average $137 USD for this job
User Avatar
Dear Sir, We have few years of experience in database and queries building. We are interested in your project. Can you please provide more details for JAVA based web service. We are ready to start this project but first want to list and discuss all the requirements.
$136 USD in 2 days
4.9 (381 reviews)
7.2
7.2
User Avatar
Hello, please check PM. Regards, Jacek
$250 USD in 3 days
5.0 (3 reviews)
5.6
5.6
User Avatar
I can do this job for you. See PM for details.
$150 USD in 2 days
4.9 (51 reviews)
4.8
4.8
User Avatar
we can do this with in 6 hours cuz we are having a gr8 command
$100 USD in 1 day
4.9 (5 reviews)
3.3
3.3
User Avatar
Hi, I am a Database expert and we have great experts in MySQL, MS SQL server and Oracle database. I myself worked with Intel Corporation on creating a database. We believe we can provide you good solution within least possible time. Thanks
$130 USD in 2 days
5.0 (3 reviews)
2.7
2.7
User Avatar
Hello, I am an expert at constructing efficient database designs and queries. Please pm to further discuss this project.
$250 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Check PM, please.
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Reno, United States
5.0
7
Payment method verified
Member since May 26, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.