Find Jobs
Hire Freelancers

Complete 2 x MySQL Queries

$30-100 USD

Cancelled
Posted over 17 years ago

$30-100 USD

Paid on delivery
Whilst I can do basic php and MySQL queries, sometimes we need help from someone smarter than I. This is one of those times. Part 1. Our table `sydney` has many fields, two of which are `ID#` and `Customer PO #`. ID# Customer PO # X0303383 WEB3589 X0303383 WEB3589 X0303956 WEB3386 X0303957 WEB3411 X0305944 WEB3708 etc. I need a query that updates the `Customer PO #` field such that if the same PO has multiple ID#s, the POs are updated to include a alphabetic suffix. eg, Customer PO # ID# WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303383 WEB3589 X0303678 WEB3589 X0303678 for ID# X0303383, Customer PO would be updated to WEB3589a, and for ID# X0303678, Customer PO would be updated to WEB3589b. If WEB3589a or WEB3589b already exist in the table, the query uses WEB3589c, etc etc. Part 1 involves making the Query, and the PHP code to execute the query. Part 2. Here's a sample of another query: --- CREATE TEMPORARY TABLE tbltemp SELECT categories_id from categories_description WHERE categories_name = 'Cases & PSUs'; CREATE TEMPORARY TABLE tbltemp2 SELECT products_id, products_name from products_description WHERE products_name LIKE '**Antec**%'; --- This query works in phpmyadmin, but when put into PHP it screws up, I think because of the WHERE products_name LIKE '**Antec**%'; line. Part 2 involves updating this query to work in PHP. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform PHP, MySQL
Project ID: 3917547

About the project

9 proposals
Remote project
Active 17 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
9 freelancers are bidding on average $31 USD for this job
User Avatar
See private message.
$38.25 USD in 2 days
4.8 (242 reviews)
6.3
6.3
User Avatar
See private message.
$42.50 USD in 2 days
5.0 (56 reviews)
5.7
5.7
User Avatar
See private message.
$21.25 USD in 2 days
5.0 (20 reviews)
3.6
3.6
User Avatar
See private message.
$34 USD in 2 days
5.0 (18 reviews)
3.3
3.3
User Avatar
See private message.
$8.50 USD in 2 days
4.9 (11 reviews)
3.1
3.1
User Avatar
See private message.
$12.75 USD in 2 days
3.7 (7 reviews)
3.1
3.1
User Avatar
See private message.
$63.75 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Everton Park, Australia
5.0
40
Payment method verified
Member since Aug 30, 2006

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.