Find Jobs
Hire Freelancers

SQL queries (MySQL & PHP)

$30-50 USD

Completed
Posted about 12 years ago

$30-50 USD

Paid on delivery
file TABLE file_id - unique file_url file_service file_thumbnailurl file_width file_height file_userid – person who add this file file_datetime – datetime file added, using mysql timestamp, like this “2012-02-02 13:11:24” info TABLE info_file_id – unique, refer to file_id in file TABLE info_title – varchar, title of the file... info_description – text, description of the file... info_category1 – one value, for example “3” info_category2 – one value, for example “1” info_tag – tag list, it looks like “michael jackson, rock, favorite star” info_userid – person who add this info_datetime – info added, using mysql timestamp, like this “2012-02-02 13:11:24” info_safemode – 1 is on, 0 is off . counter TABLE counter_file_id – unique, refer to file_id in file TABLE counter_view – number of views counter_comment – number of comments counter_like – number of likes counter_share - number of shares counter_point – a total point for sum all the value(for example 1 view = 1 point, 1 comment = 20 points, 1 like = 10 points, 1 share = 20 points) We need YOU to provide 13 SQL queries - all result must be unique (file_id) - able to apply paging (currently i use LIMIT offset, row-per-page) - all datetime base on server, and refer to the info TABLE, not file TABLE. [login to view URL] the last 30 days records sort by counter_point desc, that means the highest point come first [login to view URL] the last 30 days records with specific category sort by counter_point desc, that means the highest point come first, the category match either category 1 & category 2. [login to view URL] get any 4 records [login to view URL] the latest 4 records with specific category sort by latest come first [login to view URL] all records sort by counter_point desc. [login to view URL] records with specific category sort by counter_point desc. [login to view URL] all the latest records sort by latest come first [login to view URL] the latest records with specific category sort by latest come first [login to view URL] all the records with specific keyword(the search thru – title, description, tag) sort by latest come first [login to view URL] all the records with specific keyword(the search thru – title, description, tag) sort by counter_point desc, highest point come first [login to view URL] all the records with specific tag, sort by latest come first [login to view URL] all the records with specific tag, sort by highest point come first [login to view URL] all the result similar to one of them. for example this record, fileid= eg. 123, category1=”music”, category2=”mtv” & tag=”michael jackson, album, tribute”. So, we need to get the revelent records that similar to this. (if it is slow&heavy, we will do/update this records via “cronjob” every hour that store the revelent list in another table)
Project ID: 1431661

About the project

7 proposals
Remote project
Active 12 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
Hi again, here's our proposal. Thanks, 2ansi
$30 USD in 1 day
5.0 (88 reviews)
6.3
6.3
7 freelancers are bidding on average $34 USD for this job
User Avatar
My objective is great customer service with broad experience and affordable Implementation. My Notion : "No Satisfaction, No Payment".
$40 USD in 1 day
5.0 (17 reviews)
5.5
5.5
User Avatar
Hi, i'm expert in SQL queries. I'm ready to start now!
$30 USD in 1 day
5.0 (28 reviews)
4.5
4.5
User Avatar
Hi.. I have outstanding skill in SQL Query. I have experience more than 5 years as a database programmer and database instructor
$30 USD in 1 day
5.0 (1 review)
1.0
1.0
User Avatar
I'd like to work on you project and provide you with the SQL queries you require. I have been writing SQL's for over 5 years and this is my first time on this site so my ratings may be low. Give me 1 day to prove to you what I'm capable of.
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have done this work more efficiently. and my these query as less execution time.
$45 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I can do it. I want to do it now bcoz i am not a rich man and i need money.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of MALAYSIA
Gresik, Malaysia
4.6
7
Payment method verified
Member since Jan 2, 2012

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.