Looking for someone to create SQL Queries

Discussion in 'Programming' started by Plexcess, Jul 4, 2009.

  1. #1
    Hello All.

    I need some help on a project and am tearing my hair out doing this myself. At this time, I would like to pay for the services of someone experienced in MYSQL to help me out.

    What I am basically doing is trying to convert a site from using Joomla to Social Engine. I am trying to use MySql Queries to convert the data we have to something Social Engine will understand.

    I did a little bit myself, but some of these querys I will need create using INNER JOINS which is a bit over my head and I am running out of time.

    So what I would like to propose is to be able to email or PM someone a question I need help on. I would then need whoever takes this work to create a query (or small script) from the question I pose.

    I will pay $15 (paypal) per working query (I would need multiple ones) and I would think for someone experienced the querys would only take a few minutes.

    Here is an example of a question I would ask to create a query for:

    I basically have a table that is like the following:

    Table: Data

    Columns:

    Row     ID          Profile     Import_ID   Field_ID             Product
    1         5            Null           5           60              Can
    2         0            Null           5           65              Hat
    3         0            Null           5           70              Box
    4         6            Null           6           60              Fish
    PHP:
    I basically want to take the word "Hat" in row 2 and place it into the "Profile" column of row 1, replacing the null value there. I am doing this for multiple rows.

    In the case of the multiple rows I want to take the "Profile" column and make it equal to the "Product" column. I only want this to happen in the rows where the "ID" value matches the "Import ID", and where the "Field ID" is 65 specifically. In the example above the "ID" 5 matches the "Import ID" 5, so I want to take the "Product" value "Hat" where the "Field ID" is 65, and place that value into the "Profile" column where the ID is 5. My table has over 9000 rows and 600 would have to be changed in this way, with various ID's needing various products inserted.

    The result I would like would be:

    Row      ID         Profile     Import_ID  Field_ID             Product
    1         5            Hat           5           60              Can
    2         0            Null          5           65              Hat
    3         0            Null          5           70              Box
    4         6            Null          6           60              Fish
    PHP:
    I would basically want an UPDATE query statement written that would make the changes needed. Most of the questions would be something like this.
     
    Plexcess, Jul 4, 2009 IP
  2. wh0

    wh0 Banned

    Messages:
    146
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    I can do this via PHP script in about 10 minutes, PM me if you would like me to do it.
     
    wh0, Jul 4, 2009 IP
  3. archis

    archis Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Hi bro
    I am Archis
    I am a freelancer with 4 Yr+ experience and i saw your advertise regarding your need in DP.
    So if you still need this job to be done contact me here i can do it asap with reasonable price.

    MSN - souvikmustdie at hotmail dot com

    Thanx
    Regards Archis
     
    archis, Jul 4, 2009 IP
  4. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    If you still need i too can get this done
     
    Bohra, Jul 4, 2009 IP
  5. viral2583

    viral2583 Well-Known Member

    Messages:
    352
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Hello,

    I have 5 years of experience in PHP, mysql and ajax. PM me more details.

    I can give you best quality work.




    Thanks you.
     
    viral2583, Jul 5, 2009 IP
  6. koko5

    koko5 Active Member

    Messages:
    394
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    70
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    Hello, if you still need help, please PM me or skype (in my profile) me. Regards.
     
    koko5, Jul 5, 2009 IP